[BUG] bzr selftest fails if BZREMAIL is set

John A Meinel john at arbash-meinel.com
Thu Sep 15 16:11:59 BST 2005

It seems that the test for checking "bzr whoami" does not unset the
BZREMAIL environment variable. So on my system, it ends up using my
email rather than the one it is trying to use, and the selftest fails.
(This is with both the integration branch, and the bzr.dev mainline).

To reproduce just do:

BZREMAIL="something <other at normal.net>" ./bzr selftest

The attached patch unsets BZREMAIL to test the $wd/.bzr/email file, and
then sets it to show that BZREMAIL overrides the $wd/.bzr/email value.

I'm assuming that is the intentional behavior, it was just not tested.


PS> This is a single revision, so the changeset should be able to
reproduce the appropriate information. I did not publish the branch
because it is trivial. (You certainly can use patch and not merge)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: email-check.cset
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050915/e4297f68/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050915/e4297f68/attachment.pgp 

More information about the bazaar mailing list