Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-tag @ 4965:4106dde15aed
Merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 21 Jul 2007 16:44:38 -0500 |
parents | 5fb8f5992a3d |
children |
comparison
equal
deleted
inserted
replaced
4964:ee983d0dbea8 | 4965:4106dde15aed |
---|---|
27 hg tag -l 'xx | 27 hg tag -l 'xx |
28 newline' | 28 newline' |
29 hg tag -l 'xx:xx' | 29 hg tag -l 'xx:xx' |
30 | 30 |
31 echo % issue 601 | 31 echo % issue 601 |
32 mv .hg/localtags .hg/ltags | 32 python << EOF |
33 head -1 .hg/ltags | tr -d '\n' > .hg/localtags | 33 f = file('.hg/localtags'); last = f.readlines()[-1][:-1]; f.close() |
34 f = file('.hg/localtags', 'w'); f.write(last); f.close() | |
35 EOF | |
34 cat .hg/localtags | 36 cat .hg/localtags |
35 hg tag -l localnewline | 37 hg tag -l localnewline |
36 cat .hg/localtags | 38 cat .hg/localtags |
37 | 39 |
38 mv .hgtags hgtags | 40 python << EOF |
39 head -1 hgtags | tr -d '\n' > .hgtags | 41 f = file('.hgtags'); last = f.readlines()[-1][:-1]; f.close() |
42 f = file('.hgtags', 'w'); f.write(last); f.close() | |
43 EOF | |
40 hg ci -d '1000000 0' -m'broken manual edit of .hgtags' | 44 hg ci -d '1000000 0' -m'broken manual edit of .hgtags' |
41 cat .hgtags | 45 cat .hgtags |
42 hg tag -d '1000000 0' newline | 46 hg tag -d '1000000 0' newline |
43 cat .hgtags | 47 cat .hgtags |