Mercurial > hg
changeset 32888:04fa5520d167
perf: ensure HGRCPATH is exported on Windows
After dropping the garbage collector hack, `hg perfstartup` started yelling
about not being able to import the evolve extension, which I have in my user
config. Launching `env` shows that an empty HGRCPATH isn't exported to the
environment. Since `env` doesn't quote, I have no idea if the variable is
trimmed, but Mercurial doesn't complain when processing it.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 16 Jun 2017 20:49:32 -0400 |
parents | 28a0e6a4e824 |
children | a7310a477966 |
files | contrib/perf.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/perf.py Fri Jun 16 20:35:45 2017 -0400 +++ b/contrib/perf.py Fri Jun 16 20:49:32 2017 -0400 @@ -661,7 +661,7 @@ if os.name != 'nt': os.system("HGRCPATH= %s version -q > /dev/null" % cmd) else: - os.environ['HGRCPATH'] = '' + os.environ['HGRCPATH'] = ' ' os.system("%s version -q > NUL" % cmd) timer(d) fm.end()