[darcs-devel] [patch1134] resolve issue1987: Garbage collection for inventories ...
Simon Michael
bugs at darcs.net
Mon Apr 7 23:35:45 UTC 2014
Simon Michael <simon at joyful.com> added the comment:
Correction - after applying this patch, darcs optimize *does* clean
patches/ . Hurrah!
for d in _darcs/{inventories,patch_index,patches}; do find $d | wc -l; done
darcs2.9.8+1134 optimize
for d in _darcs/{inventories,patch_index,patches}; do find $d | wc -l; done
262
5
35837
Done optimizing!
13
5
2454
Here are the overall repo sizes:
cd ..; du -s *
305532 repo-original
33024 repo-optimized-with-patch1134
15540 repo-copied-with-get
This is most helpful, even though the optimized copy is still reported
as twice as large as a freshly got copy. Looking more closely with du
shows only a 5M difference between their respective _darcs directories,
and both have the same number of files. I assume this must be some kind
of normal filesystem/du reporting issue.
So.. how safe is it to run darcs optimize with this patch frequently on
all darcs hub repos ?
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1134>
__________________________________
More information about the darcs-devel
mailing list