Rev 70: Add a mutter() while repacking, so that we log progress as we go along. in http://bzr.arbash-meinel.com/plugins/groupcompress_rabin
John Arbash Meinel
john at arbash-meinel.com
Mon Mar 2 18:02:45 GMT 2009
At http://bzr.arbash-meinel.com/plugins/groupcompress_rabin
------------------------------------------------------------
revno: 70
revision-id: john at arbash-meinel.com-20090302180241-v2vpfp7xq6vtyr2p
parent: john at arbash-meinel.com-20090302170533-v13igzvtt0hf7y2z
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: groupcompress_rabin
timestamp: Mon 2009-03-02 12:02:41 -0600
message:
Add a mutter() while repacking, so that we log progress as we go along.
-------------- next part --------------
=== modified file 'repofmt.py'
--- a/repofmt.py 2009-02-27 16:07:46 +0000
+++ b/repofmt.py 2009-03-02 18:02:41 +0000
@@ -391,6 +391,8 @@
for pack in packs:
source_index = getattr(pack, index_name)
keys.update(e[1] for e in source_index.iter_all_entries())
+ trace.mutter('repacking %s with %d keys',
+ vf_name, len(keys))
source_vf = getattr(self.repo, vf_name)
target_access = knit._DirectPackAccess({})
target_access.set_writer(new_pack._writer, new_index,
More information about the bazaar-commits
mailing list