Rev 4085: Log all missing keys in pack fetch operations that fail due to missing keys. in http://people.ubuntu.com/~robertc/baz2.0/pending/pack-repo.mutter

Robert Collins robertc at robertcollins.net
Sun Mar 8 05:57:26 GMT 2009


At http://people.ubuntu.com/~robertc/baz2.0/pending/pack-repo.mutter

------------------------------------------------------------
revno: 4085
revision-id: robertc at robertcollins.net-20090308055723-4zfryt6lk9hsgl2y
parent: pqm at pqm.ubuntu.com-20090306030219-enauehb3achqqq7c
committer: Robert Collins <robertc at robertcollins.net>
branch nick: pack-repo.mutter
timestamp: Sun 2009-03-08 16:57:23 +1100
message:
  Log all missing keys in pack fetch operations that fail due to missing keys.
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py	2009-02-27 01:02:40 +0000
+++ b/bzrlib/repofmt/pack_repo.py	2009-03-08 05:57:23 +0000
@@ -842,6 +842,7 @@
             if missing_text_keys:
                 # TODO: raise a specific error that can handle many missing
                 # keys.
+                mutter("missing keys during fetch: %r", missing_text_keys)
                 a_missing_key = missing_text_keys.pop()
                 raise errors.RevisionNotPresent(a_missing_key[1],
                     a_missing_key[0])




More information about the bazaar-commits mailing list