Rev 4089: (robertc) Log all the missing keys when a pack->pack copying in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Sun Mar 8 21:32:59 GMT 2009
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 4089
revision-id: pqm at pqm.ubuntu.com-20090308213256-h1hh8zwruuprz26c
parent: pqm at pqm.ubuntu.com-20090306214205-sa9k572tezp8s0a1
parent: robertc at robertcollins.net-20090308055723-4zfryt6lk9hsgl2y
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Sun 2009-03-08 21:32:56 +0000
message:
(robertc) Log all the missing keys when a pack->pack copying
operation fails due to missing keys. (Robert Collins)
modified:
bzrlib/repofmt/pack_repo.py pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
------------------------------------------------------------
revno: 4084.3.1
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:
bzrlib/repofmt/pack_repo.py pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py 2009-03-05 13:28:01 +0000
+++ b/bzrlib/repofmt/pack_repo.py 2009-03-08 21:32:56 +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