Tobias Bading <>

r1878909, r939376

r939376 | cmpilato | 2010-04-29 16:49:06 +0000 (Thu, 29 Apr 2010)

Fix issue #3623, a bug with foreign repository merges not carrying
property changes for merge-added files.

* subversion/libsvn_client/merge.c
  (merge_file_added): Rework logic for more explicit handling of new
    contents and properties that come through this callback.  When handling
    adds from foreign repositories, install the props and contents as
    *working* data (against empty base data), just like a regular
    schedule-add would be handled.

Reported by: Tobias Bading <tbading{_AT_}>

r1878909 | brane | 2020-06-17 04:49:32 +0000 (Wed, 17 Jun 2020)

Fix a number of thinkos in human-readable file size formatting.

* subversion/svn/filesize.c
  (format_size): Be smarter about predicting floating-point rounding to
   decide whether to show decimal places or not.
  (get_base2_unit_file_size): Fix human-readable size order calculation.
  (get_base10_unit_file_size): Likewise.

* build.conf (filesize-test): New test suite.
  (private-includes): Add subversion/svn/filesize.c for filesize-test.
* subversion/tests/client/filesize-test.c: New.

Found by: Tobias Bading <tbading{_AT_}>
Patch by: me