[MERGE] run_bzr_subprocess(env_changes={})

John Arbash Meinel john at arbash-meinel.com
Wed Aug 30 14:43:15 BST 2006


Martin Pool wrote:
> On 28 Aug 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
> 

...

> 
> This doesn't test asking that a variable be deleted.  Perhaps you could
> set it in the parent process, then run it in a subprocess set it to
> None, then in a finally block remove it.
> 
> +1 with those changes.
> 

It is a little bit tricky, because we don't have many env vars that do
stuff when they *aren't* set. :) But I came up with the attached patch.
I went ahead and submitted it.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_bzr_subprocess_update.diff
Type: text/x-patch
Size: 5327 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060830/793a5e0c/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/20060830/793a5e0c/attachment.pgp 


More information about the bazaar mailing list