At http://bazaar.launchpad.net/%7Ebzr/bzr/brisbane-core

------------------------------------------------------------
revno: 3792
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: brisbane-core
timestamp: Wed 2008-12-03 10:49:44 -0600
message:
  With -Dpack we should only mutter about chk_index if it actually exists.
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py       2008-11-20 19:41:26 +0000
+++ b/bzrlib/repofmt/pack_repo.py       2008-12-03 16:49:44 +0000
@@ -783,12 +783,12 @@
         # the items? How should that interact with stacked repos?
         if new_pack.chk_index is not None:
             self._copy_chks()
-        if 'pack' in debug.debug_flags:
-            mutter('%s: create_pack: chk content copied: %s%s %d items 
t+%6.3fs',
-                time.ctime(), self._pack_collection._upload_transport.base,
-                new_pack.random_name,
-                new_pack.chk_index.key_count(),
-                time.time() - new_pack.start_time)
+            if 'pack' in debug.debug_flags:
+                mutter('%s: create_pack: chk content copied: %s%s %d items 
t+%6.3fs',
+                    time.ctime(), self._pack_collection._upload_transport.base,
+                    new_pack.random_name,
+                    new_pack.chk_index.key_count(),
+                    time.time() - new_pack.start_time)
         self._check_references()
         if not self._use_pack(new_pack):
             new_pack.abort()

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to