Show More
@@ -276,6 +276,11 b' def run_one(test, skips):' | |||
|
276 | 276 | hgrc = file(HGRCPATH, 'w+') |
|
277 | 277 | hgrc.write('[ui]\n') |
|
278 | 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 | 284 | hgrc.close() |
|
280 | 285 | |
|
281 | 286 | err = os.path.join(TESTDIR, test+".err") |
@@ -15,7 +15,8 b' EOF' | |||
|
15 | 15 | hg init repo |
|
16 | 16 | cd repo |
|
17 | 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 | 21 | hg archive -t files ../archive |
|
21 | 22 | hg archive -t tar -p tar ../archive.tar |
@@ -116,13 +116,13 b' hg init t4' | |||
|
116 | 116 | cd t4 |
|
117 | 117 | echo foo > foo |
|
118 | 118 | hg add |
|
119 |
hg ci -m 'add foo' |
|
|
120 |
hg tag |
|
|
121 |
hg tag - |
|
|
119 | hg ci -m 'add foo' # rev 0 | |
|
120 | hg tag bar # rev 1 bar -> 0 | |
|
121 | hg tag -f bar # rev 2 bar -> 1 | |
|
122 | 122 | hg up -qC 0 |
|
123 |
hg tag - |
|
|
123 | hg tag -fr 2 bar # rev 3 bar -> 2 | |
|
124 | 124 | hg tags |
|
125 | 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 | 127 | echo % bar should still point to rev 2 |
|
128 | 128 | hg tags |
General Comments 0
You need to be logged in to leave comments.
Login now