On 5. 6. 2026 20:50, Sean McBride wrote:
On 4 Jun 2026, at 7:31, Jordan Peck via dev wrote:
This patch saves disk space on supported filesystems for byte-identical file
installation by utilising filesystem clone APIs.
FWIW, just the other week, I've used this tool:
https://github.com/ttkb-oss/dedup
on my Mac, and several others in our office, to deduplicate files in our svn
(1.14) working copies. It detected identical files not only in our /branches vs
/trunk but also among the pristine copies, and it deduplicated them using APFS'
cloning feature.
It didn't cause svn to freak out, so that bodes well.
Thanks for this note, it answers a few questions.
We should document this somewhere for our users, and check if similar
utilities exist for other operating/file systems. It's a faster and
simpler way to get the CoW benefit, and doesn't require waiting for (at
least) a 1.16 release. Come to think of it, the result is probably
better than the proposed patch can provide, since it only uses CoW
between pristine and working files.
Sure one would have to rerun it periodically, but then, one should also
'svn cleanup'.
-- Brane