[PATCH] run-tests: unset CHGDEBUG
Jun Wu
quark at fb.com
Fri Jan 6 16:20:46 UTC 2017
# HG changeset patch
# User Jun Wu <quark at fb.com>
# Date 1483719581 0
# Fri Jan 06 16:19:41 2017 +0000
# Node ID 50ad6dbc71c76ab1a9e684b59720d8fa7fbd6797
# Parent 011122b3b1c42374fb0489d107418e1be3665ca6
# Available At https://bitbucket.org/quark-zju/hg-draft
# hg pull https://bitbucket.org/quark-zju/hg-draft -r 50ad6dbc71c7
run-tests: unset CHGDEBUG
With CHGDEBUG, chg outputs much more stuff and the test could fail running
with --chg. So unset the environment variable.
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -850,5 +850,5 @@ class Test(unittest.TestCase):
for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' +
- 'NO_PROXY').split():
+ 'NO_PROXY CHGDEBUG').split():
if k in env:
del env[k]
More information about the Mercurial-devel
mailing list