[Pkg-bazaar-commits] ./bzr/unstable r662: - tune check progress indicator

Martin Pool mbp at sourcefrog.net
Fri Apr 10 08:20:37 UTC 2009


------------------------------------------------------------
revno: 662
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-06-10 19:07:57 +1000
message:
  - tune check progress indicator
modified:
  bzrlib/check.py
-------------- next part --------------
=== modified file 'bzrlib/check.py'
--- a/bzrlib/check.py	2005-06-10 08:40:33 +0000
+++ b/bzrlib/check.py	2005-06-10 09:07:57 +0000
@@ -72,7 +72,7 @@
         len_inv = len(inv)
         for file_id in inv:
             i += 1
-            if (i % 100) == 99:
+            if i & 31 == 0:
                 pb.tick()
 
             ie = inv[file_id]



More information about the Pkg-bazaar-commits mailing list