##// END OF EJS Templates
runtests: always set web.ipv6...
Jun Wu -
r31010:09ec648c default
parent child Browse files
Show More
@@ -599,11 +599,6 b' class Test(unittest.TestCase):'
599 599 self._testtmp = None
600 600 self._chgsockdir = None
601 601
602 # If IPv6 is used, set web.ipv6=1 in hgrc so servers will use IPv6
603 if useipv6:
604 self._extraconfigopts = list(self._extraconfigopts)
605 self._extraconfigopts.append('web.ipv6 = True')
606
607 602 # If we're not in --debug mode and reference output file exists,
608 603 # check test output against it.
609 604 if debug:
@@ -935,6 +930,7 b' class Test(unittest.TestCase):'
935 930 (os.path.join(self._testtmp, b'.cache/largefiles')))
936 931 hgrc.write(b'[web]\n')
937 932 hgrc.write(b'address = localhost\n')
933 hgrc.write(b'ipv6 = %s\n' % self._useipv6)
938 934
939 935 for opt in self._extraconfigopts:
940 936 section, key = opt.split('.', 1)
@@ -12,7 +12,7 b' Create a repository:'
12 12 ui.mergemarkers=detailed
13 13 ui.promptecho=True
14 14 web.address=localhost
15 web.ipv6=True (?)
15 web\.ipv6=(?:True|False) (re)
16 16 $ hg init t
17 17 $ cd t
18 18
@@ -200,7 +200,7 b' check that local configs for the cached '
200 200 ui.foo=bar
201 201 ui.nontty=true
202 202 web.address=localhost
203 web.ipv6=True (?)
203 web\.ipv6=(?:True|False) (re)
204 204 *** runcommand init foo
205 205 *** runcommand -R foo showconfig ui defaults
206 206 defaults.backout=-d "0 0"
General Comments 0
You need to be logged in to leave comments. Login now