Rev 15: Add a chk depth indicator to the progress bar. in http://bazaar.launchpad.net/%7Ebzr/bzr-repodetails/trunk

John Arbash Meinel john at arbash-meinel.com
Wed Dec 10 00:18:10 GMT 2008


At http://bazaar.launchpad.net/%7Ebzr/bzr-repodetails/trunk

------------------------------------------------------------
revno: 15
revision-id: john at arbash-meinel.com-20081210001735-o41l1pk7yr7ay0gf
parent: john at arbash-meinel.com-20081203010639-h45n2ue3uq6l09dg
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: trunk
timestamp: Tue 2008-12-09 18:17:35 -0600
message:
  Add a chk depth indicator to the progress bar.
-------------- next part --------------
=== modified file 'gather_stats.py'
--- a/gather_stats.py	2008-12-03 01:06:39 +0000
+++ b/gather_stats.py	2008-12-10 00:17:35 +0000
@@ -221,8 +221,9 @@
         done.update(pending)
         next = pending
         pending = set()
+        kind = 'chk %d' % (depth,)
         for bytes, key in _gather_and_iter_object_vf_texts(objectstats,
-                            chk_bytes, next, kind='chk'):
+                            chk_bytes, next, kind=kind):
             node = chk_map._deserialise(bytes, key)
             refs = node.refs()
             pending.update(refs)



More information about the bazaar-commits mailing list