[MERGE] LockDir.lock_write() shouldn't require an email address

John Arbash Meinel john at arbash-meinel.com
Fri Sep 29 21:26:17 BST 2006


The attached patch fixes a small bug in LockDir.

Basically, it requires a semi-valid email address to be configured, or
'.lock_write()' will fail.

Also, extract_email_address() shouldn't be raising a generic BzrError.
So this patch updates it to raise a better exception, and then has the
callers catch the right exception.

Because of inheritance, we don't need to do a deprecation phase, because
NoEmailInUsername is a child of BzrError.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockdir-no-email.patch
Type: text/x-patch
Size: 7575 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060929/d4d8c416/attachment.bin 
-------------- 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/20060929/d4d8c416/attachment.pgp 


More information about the bazaar mailing list