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") |
@@ -15,7 +15,8 b' EOF' | |||||
15 | hg init repo |
|
15 | hg init repo | |
16 | cd repo |
|
16 | cd repo | |
17 | ln -s nothing dangling |
|
17 | ln -s nothing dangling | |
18 | hg ci -qAm 'add symlink' |
|
18 | # avoid tar warnings about old timestamp | |
|
19 | hg ci -d '2000-01-01 00:00:00 +0000' -qAm 'add symlink' | |||
19 |
|
20 | |||
20 | hg archive -t files ../archive |
|
21 | hg archive -t files ../archive | |
21 | hg archive -t tar -p tar ../archive.tar |
|
22 | hg archive -t tar -p tar ../archive.tar |
@@ -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' |
|
119 | hg ci -m 'add foo' # rev 0 | |
120 |
hg tag |
|
120 | hg tag bar # rev 1 bar -> 0 | |
121 |
hg tag - |
|
121 | hg tag -f bar # rev 2 bar -> 1 | |
122 | hg up -qC 0 |
|
122 | hg up -qC 0 | |
123 |
hg tag - |
|
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 - |
|
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