[MERGE][#133782] Fix UnboundLocalError in cmd_cat

Lukáš Lalinský lalinsky at gmail.com
Sat Dec 1 11:48:24 GMT 2007


If 'bzr cat' gets a non-branch URL as an argument, it fails with
UnboundLocalError. The previous fix [1] was vetoed, because it kept the
old code, which tried to use the branch from '-r branch:URL'. This one
just let's open_containing_tree_or_branch to fail with NotBranchError.

Lukas

[1] http://bundlebuggy.aaronbentley.com/request/%
3C1189253358.6645.35.camel at nemo%3E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-HBKNZI.patch
Type: text/x-patch
Size: 5106 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071201/e41a3c0a/attachment.bin 


More information about the bazaar mailing list