# HG changeset patch # User Jerry Montfort # Date 1554417581 -19800 # Node ID f3365065ef1d839bd189922e69c99f812f7dda74 # Parent 93a1a4fef532921c73b0ba5719478d37d68aee4c tests: unset environment variable P in test-revset2.t (issue6109) The test tests/test-revset2.t fails the test case "Test repo.anyrevs with customized revset overrides" (line 1609) if the environment variable P is set. The test implicitly expects that the environment, in which it is started, does not export the variable 'P'. To solve this issue, unset 'P' right before the test commands are run. Differential Revision: https://phab.mercurial-scm.org/D6195 diff -r 93a1a4fef532 -r f3365065ef1d tests/test-revset2.t --- a/tests/test-revset2.t Thu Apr 04 19:08:37 2019 +0200 +++ b/tests/test-revset2.t Fri Apr 05 04:09:41 2019 +0530 @@ -1627,6 +1627,7 @@ > printprevset = $TESTTMP/printprevset.py > EOF + $ unset P $ hg --config revsetalias.P=1 printprevset P=[1] $ P=3 hg --config revsetalias.P=2 printprevset