[BUG] wrong args for exception
John Arbash Meinel
john at arbash-meinel.com
Mon Jun 26 14:06:02 BST 2006
Aaron Bentley wrote:
> Robert Widhopf-Fenk wrote:
>>> 'bzr commit -m "a"' on a tree without added files.
>>>
>>> bzr: ERROR: exceptions.TypeError: __init__() takes exactly 2 arguments (3 given)
>
> This was already reported earlier this week by John Meinel. See "[bug]
> bzr commit with nothing changed fails with the wrong exception"
>
> John, your patch was empty in that message. Are you ever going to post
> your patch?
>
> Aaron
I didn't realize there was no patch.
Attached is a fix + a test case that I wrote last week.
John
=:->
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: empty-commit-exception.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060626/47d14d39/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060626/47d14d39/attachment.pgp
More information about the bazaar
mailing list