##// END OF EJS Templates
run-tests: define the default merge tool through configuration...
Boris Feld -
r40506:d6b6f1b4 default
parent child Browse files
Show More
@@ -1078,7 +1078,6 b' class Test(unittest.TestCase):'
1078 b'daemon.pids'))
1078 b'daemon.pids'))
1079 env["HGEDITOR"] = ('"' + sys.executable + '"'
1079 env["HGEDITOR"] = ('"' + sys.executable + '"'
1080 + ' -c "import sys; sys.exit(0)"')
1080 + ' -c "import sys; sys.exit(0)"')
1081 env["HGMERGE"] = "internal:merge"
1082 env["HGUSER"] = "test"
1081 env["HGUSER"] = "test"
1083 env["HGENCODING"] = "ascii"
1082 env["HGENCODING"] = "ascii"
1084 env["HGENCODINGMODE"] = "strict"
1083 env["HGENCODINGMODE"] = "strict"
@@ -1116,6 +1115,7 b' class Test(unittest.TestCase):'
1116 'EDITOR',
1115 'EDITOR',
1117 'GREP_OPTIONS',
1116 'GREP_OPTIONS',
1118 'HG',
1117 'HG',
1118 'HGMERGE',
1119 'HGPLAIN',
1119 'HGPLAIN',
1120 'HGPLAINEXCEPT',
1120 'HGPLAINEXCEPT',
1121 'HGPROF',
1121 'HGPROF',
@@ -1146,6 +1146,7 b' class Test(unittest.TestCase):'
1146 hgrc.write(b'[ui]\n')
1146 hgrc.write(b'[ui]\n')
1147 hgrc.write(b'slash = True\n')
1147 hgrc.write(b'slash = True\n')
1148 hgrc.write(b'interactive = False\n')
1148 hgrc.write(b'interactive = False\n')
1149 hgrc.write(b'merge = internal:merge\n')
1149 hgrc.write(b'mergemarkers = detailed\n')
1150 hgrc.write(b'mergemarkers = detailed\n')
1150 hgrc.write(b'promptecho = True\n')
1151 hgrc.write(b'promptecho = True\n')
1151 hgrc.write(b'[defaults]\n')
1152 hgrc.write(b'[defaults]\n')
@@ -9,6 +9,7 b' Create a repository:'
9 lfs.usercache=$TESTTMP/.cache/lfs
9 lfs.usercache=$TESTTMP/.cache/lfs
10 ui.slash=True
10 ui.slash=True
11 ui.interactive=False
11 ui.interactive=False
12 ui.merge=internal:merge
12 ui.mergemarkers=detailed
13 ui.mergemarkers=detailed
13 ui.promptecho=True
14 ui.promptecho=True
14 web.address=localhost
15 web.address=localhost
@@ -211,6 +211,7 b' check that local configs for the cached '
211 lfs.usercache=$TESTTMP/.cache/lfs
211 lfs.usercache=$TESTTMP/.cache/lfs
212 ui.slash=True
212 ui.slash=True
213 ui.interactive=False
213 ui.interactive=False
214 ui.merge=internal:merge
214 ui.mergemarkers=detailed
215 ui.mergemarkers=detailed
215 ui.foo=bar
216 ui.foo=bar
216 ui.nontty=true
217 ui.nontty=true
@@ -221,6 +222,7 b' check that local configs for the cached '
221 *** runcommand -R foo showconfig ui defaults
222 *** runcommand -R foo showconfig ui defaults
222 ui.slash=True
223 ui.slash=True
223 ui.interactive=False
224 ui.interactive=False
225 ui.merge=internal:merge
224 ui.mergemarkers=detailed
226 ui.mergemarkers=detailed
225 ui.nontty=true
227 ui.nontty=true
226 #endif
228 #endif
General Comments 0
You need to be logged in to leave comments. Login now