D5242: tests: make the commands.resolve.confirm tests not pollute the test-wide hgrc
spectral (Kyle Lippincott)
phabricator at mercurial-scm.org
Wed Nov 7 23:45:33 UTC 2018
spectral created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
I want to add tests after these tests that create a new repo and use it, and was
confused for a bit as to why they were seeing different behavior than I
expected.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5242
AFFECTED FILES
tests/test-resolve.t
CHANGE DETAILS
diff --git a/tests/test-resolve.t b/tests/test-resolve.t
--- a/tests/test-resolve.t
+++ b/tests/test-resolve.t
@@ -525,7 +525,7 @@
Test when config option is set:
==============================
- $ cat >> $HGRCPATH << EOF
+ $ cat >> .hg/hgrc << EOF
> [ui]
> interactive = True
> [commands]
To: spectral, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list