##// END OF EJS Templates
run-tests.py: add a default --date "0 0" argument to commit et al...
Alexis S. L. Carvalho -
r5524:453acf64 default
parent child Browse files
Show More
@@ -276,6 +276,11 b' def run_one(test, skips):'
276 hgrc = file(HGRCPATH, 'w+')
276 hgrc = file(HGRCPATH, 'w+')
277 hgrc.write('[ui]\n')
277 hgrc.write('[ui]\n')
278 hgrc.write('slash = True\n')
278 hgrc.write('slash = True\n')
279 hgrc.write('[defaults]\n')
280 hgrc.write('backout = -d "0 0"\n')
281 hgrc.write('commit = -d "0 0"\n')
282 hgrc.write('debugrawcommit = -d "0 0"\n')
283 hgrc.write('tag = -d "0 0"\n')
279 hgrc.close()
284 hgrc.close()
280
285
281 err = os.path.join(TESTDIR, test+".err")
286 err = os.path.join(TESTDIR, test+".err")
@@ -116,13 +116,13 b' hg init t4'
116 cd t4
116 cd t4
117 echo foo > foo
117 echo foo > foo
118 hg add
118 hg add
119 hg ci -m 'add foo' -d '0 0' # rev 0
119 hg ci -m 'add foo' # rev 0
120 hg tag -d '0 0' bar # rev 1 bar -> 0
120 hg tag bar # rev 1 bar -> 0
121 hg tag -d '0 0' -f bar # rev 2 bar -> 1
121 hg tag -f bar # rev 2 bar -> 1
122 hg up -qC 0
122 hg up -qC 0
123 hg tag -d '0 0' -fr 2 bar # rev 3 bar -> 2
123 hg tag -fr 2 bar # rev 3 bar -> 2
124 hg tags
124 hg tags
125 hg up -qC 0
125 hg up -qC 0
126 hg tag -d '0 0' -m 'retag rev 0' -fr 0 bar # rev 4 bar -> 0, but bar stays at 2
126 hg tag -m 'retag rev 0' -fr 0 bar # rev 4 bar -> 0, but bar stays at 2
127 echo % bar should still point to rev 2
127 echo % bar should still point to rev 2
128 hg tags
128 hg tags
General Comments 0
You need to be logged in to leave comments. Login now