##// END OF EJS Templates
run-tests: set a default largefiles usercache in the default hgrc file...
Matt Harbison -
r23388:42ed0780 default
parent child Browse files
Show More
@@ -689,6 +689,10 b' class Test(unittest.TestCase):'
689 hgrc.write('commit = -d "0 0"\n')
689 hgrc.write('commit = -d "0 0"\n')
690 hgrc.write('shelve = --date "0 0"\n')
690 hgrc.write('shelve = --date "0 0"\n')
691 hgrc.write('tag = -d "0 0"\n')
691 hgrc.write('tag = -d "0 0"\n')
692 hgrc.write('[largefiles]\n')
693 hgrc.write('usercache = %s\n' %
694 (os.path.join(self._testtmp, '.cache/largefiles')))
695
692 for opt in self._extraconfigopts:
696 for opt in self._extraconfigopts:
693 section, key = opt.split('.', 1)
697 section, key = opt.split('.', 1)
694 assert '=' in key, ('extra config opt %s must '
698 assert '=' in key, ('extra config opt %s must '
@@ -5,6 +5,7 b' Create a repository:'
5 defaults.commit=-d "0 0"
5 defaults.commit=-d "0 0"
6 defaults.shelve=--date "0 0"
6 defaults.shelve=--date "0 0"
7 defaults.tag=-d "0 0"
7 defaults.tag=-d "0 0"
8 largefiles.usercache=$TESTTMP/.cache/largefiles (glob)
8 ui.slash=True
9 ui.slash=True
9 ui.interactive=False
10 ui.interactive=False
10 ui.mergemarkers=detailed
11 ui.mergemarkers=detailed
@@ -178,6 +178,7 b' check that local configs for the cached '
178 defaults.commit=-d "0 0"
178 defaults.commit=-d "0 0"
179 defaults.shelve=--date "0 0"
179 defaults.shelve=--date "0 0"
180 defaults.tag=-d "0 0"
180 defaults.tag=-d "0 0"
181 largefiles.usercache=$TESTTMP/.cache/largefiles
181 ui.slash=True
182 ui.slash=True
182 ui.interactive=False
183 ui.interactive=False
183 ui.mergemarkers=detailed
184 ui.mergemarkers=detailed
General Comments 0
You need to be logged in to leave comments. Login now