[MERGE] Fix error when raising error in knit.py

Andrew Bennetts andrew at canonical.com
Thu Jul 3 09:19:23 BST 2008


I bumped into this error earlier today when a test failed due to a typo.
KnitVersionedFiles has no 'filename' attribute, so it shouldn't try to use
self.filename when raising InvalidRevisionId.

This patch makes it raise "self", which is better, but not hugely informative.

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: error-typo-3518.patch
Type: text/x-diff
Size: 2689 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080703/07944ce7/attachment-0001.bin 


More information about the bazaar mailing list