test: also deactivate `ui.merge` when testing merge tool
authorBoris Feld <boris.feld@octobus.net>
Wed, 31 Oct 2018 19:12:32 +0100
changeset 40517 1736450cd1df
parent 40516 37e75be0b019
child 40518 b57f2734ac92
test: also deactivate `ui.merge` when testing merge tool We are about to introduce a default config for `ui.merge`. Since `test-merge-tools.t` is about testing merge configuration, we need to make sure it won't interfere.
tests/test-merge-tools.t
--- a/tests/test-merge-tools.t	Wed Oct 31 18:43:56 2018 +0100
+++ b/tests/test-merge-tools.t	Wed Oct 31 19:12:32 2018 +0100
@@ -1,6 +1,10 @@
 test merge-tools configuration - mostly exercising filemerge.py
 
   $ unset HGMERGE # make sure HGMERGE doesn't interfere with the test
+  $ cat >> $HGRCPATH << EOF
+  > [ui]
+  > merge=
+  > EOF
   $ hg init repo
   $ cd repo