tests: adjust merge tool config in test-largefiles-update.t
authorBoris Feld <boris.feld@octobus.net>
Wed, 31 Oct 2018 18:43:56 +0100
changeset 40516 37e75be0b019
parent 40515 cfa564037789
child 40517 1736450cd1df
tests: adjust merge tool config in test-largefiles-update.t Previously, the `ui.merge=internal:fail` configuration was shadowed by the the `HGMERGE=internal:merge` environment variable. We would like to remove this usage of `HGMERGE` variable because it is error-prone (eg: this very test). We start by cleaning up test independently to avoid large churn when the change happens.
tests/test-largefiles-update.t
--- a/tests/test-largefiles-update.t	Fri Apr 20 18:08:54 2018 +0200
+++ b/tests/test-largefiles-update.t	Wed Oct 31 18:43:56 2018 +0100
@@ -3,9 +3,10 @@
 This file focuses mainly on updating largefiles in the working
 directory (and ".hg/largefiles/dirstate")
 
+  $ unset HGMERGE
   $ cat >> $HGRCPATH <<EOF
   > [ui]
-  > merge = internal:fail
+  > merge = internal:merge
   > [extensions]
   > largefiles =
   > [extdiff]