##// END OF EJS Templates
devel: activate default-date in tests...
marmoute -
r32410:f94d7e3e default
parent child Browse files
Show More
@@ -956,6 +956,7 b' class Test(unittest.TestCase):'
956 hgrc.write(b'tag = -d "0 0"\n')
956 hgrc.write(b'tag = -d "0 0"\n')
957 hgrc.write(b'[devel]\n')
957 hgrc.write(b'[devel]\n')
958 hgrc.write(b'all-warnings = true\n')
958 hgrc.write(b'all-warnings = true\n')
959 hgrc.write(b'default-date = 0 0\n')
959 hgrc.write(b'[largefiles]\n')
960 hgrc.write(b'[largefiles]\n')
960 hgrc.write(b'usercache = %s\n' %
961 hgrc.write(b'usercache = %s\n' %
961 (os.path.join(self._testtmp, b'.cache/largefiles')))
962 (os.path.join(self._testtmp, b'.cache/largefiles')))
@@ -6,6 +6,7 b' Create a repository:'
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 devel.all-warnings=true
8 devel.all-warnings=true
9 devel.default-date=0 0
9 largefiles.usercache=$TESTTMP/.cache/largefiles (glob)
10 largefiles.usercache=$TESTTMP/.cache/largefiles (glob)
10 ui.slash=True
11 ui.slash=True
11 ui.interactive=False
12 ui.interactive=False
@@ -192,6 +192,7 b' check that local configs for the cached '
192 defaults.shelve=--date "0 0"
192 defaults.shelve=--date "0 0"
193 defaults.tag=-d "0 0"
193 defaults.tag=-d "0 0"
194 devel.all-warnings=true
194 devel.all-warnings=true
195 devel.default-date=0 0
195 largefiles.usercache=$TESTTMP/.cache/largefiles
196 largefiles.usercache=$TESTTMP/.cache/largefiles
196 ui.slash=True
197 ui.slash=True
197 ui.interactive=False
198 ui.interactive=False
@@ -120,7 +120,7 b' commit added file that has been deleted'
120 An empty date was interpreted as epoch origin
120 An empty date was interpreted as epoch origin
121
121
122 $ echo foo >> foo
122 $ echo foo >> foo
123 $ hg commit -d '' -m commit-no-date
123 $ hg commit -d '' -m commit-no-date --config devel.default-date=
124 $ hg tip --template '{date|isodate}\n' | grep '1970'
124 $ hg tip --template '{date|isodate}\n' | grep '1970'
125 [1]
125 [1]
126
126
General Comments 0
You need to be logged in to leave comments. Login now