[Merge][#301969]Give proper error message for diff with non-existent dotted revno

Marius Kruger amanic at gmail.com
Sun Nov 30 20:18:12 GMT 2008


hi all,
I added some tests for `bzr diff -r 1.1` and `bzr diff -c 1.1` where revno
1.1 does not exist,
This patch gives a consistent error message as a non-dotted revno eg. `bzr
diff -r 1234`.
It passes all tests, but I'm not sure if something else relied on getting
back (branch, None, None)
for non-existing dotted revnos.

regards
marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081130/65ce710c/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nonexisting_dotted_revnos.patch
Type: text/x-patch
Size: 5740 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081130/65ce710c/attachment.bin 


More information about the bazaar mailing list