[BUG] bzr selftest fails if BZREMAIL is set

Robert Collins robertc at robertcollins.net
Fri Sep 16 12:24:19 BST 2005


On Thu, 2005-09-15 at 11:11 -0400, John A Meinel wrote:
> 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.
> 
> John
> =:->
> 
> 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)

What should I use to apply this and get the revision installed ?

Rob


-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050916/973d90c1/attachment.pgp 


More information about the bazaar mailing list