Rev 3753: (mbp) Fix error construction in KnitVersionedFiles in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Tue Sep 30 01:26:08 BST 2008
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 3753
revision-id: pqm at pqm.ubuntu.com-20080930002605-dfe533l96sx35va8
parent: pqm at pqm.ubuntu.com-20080929235144-2jweo1007kh31723
parent: mbp at sourcefrog.net-20080929061127-xp4wtsyx9div0brq
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2008-09-30 01:26:05 +0100
message:
(mbp) Fix error construction in KnitVersionedFiles
modified:
bzrlib/knit.py knit.py-20051212171256-f056ac8f0fbe1bd9
------------------------------------------------------------
revno: 3749.1.1
revision-id: mbp at sourcefrog.net-20080929061127-xp4wtsyx9div0brq
parent: pqm at pqm.ubuntu.com-20080927233809-mlgk5zkwowkb8q8z
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: 270738-stacking
timestamp: Mon 2008-09-29 16:11:27 +1000
message:
Fix error construction in KnitVersionedFiles
modified:
bzrlib/knit.py knit.py-20051212171256-f056ac8f0fbe1bd9
=== modified file 'bzrlib/knit.py'
--- a/bzrlib/knit.py 2008-09-11 04:16:24 +0000
+++ b/bzrlib/knit.py 2008-09-29 06:11:27 +0000
@@ -1433,7 +1433,9 @@
yield line, key
keys.difference_update(source_keys)
if keys:
- raise RevisionNotPresent(keys, self.filename)
+ # XXX: strictly the second parameter is meant to be the file id
+ # but it's not easily accessible here.
+ raise RevisionNotPresent(keys, repr(self))
pb.update('Walking content.', total, total)
def _make_line_delta(self, delta_seq, new_content):
More information about the bazaar-commits
mailing list