[PATCH] util.system: Clear environment vars before deleting - just in case deletion fails

Greg Ward greg-hg at gerg.ca
Thu Sep 10 12:56:31 CDT 2009


On Tue, Sep 8, 2009 at 8:12 PM, Mads Kiilerich <mads at kiilerich.com> wrote:
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1252455081 -7200
> # Node ID 7b8ca6945311e48aac47ba4c80b376e006677789
> # Parent  fef209e657579ddd0b87ed728f1fee8912960eab
> util.system: Clear environment vars before deleting - just in case deletion fails
>
> Environment variables can't (easily) be deleted in Python on solaris:

Weird.  Can you delete them from C?  If so, this is probably a Python
bug as well.  Mercurial should still workaround it of course, but it
would be nice to report it upstream.

Greg



More information about the Mercurial-devel mailing list