Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-tag @ 1948:ebe273a16048
merge with crew/templates
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Mon, 13 Mar 2006 23:38:14 +0100 |
parents | 7544700fd931 |
children | 46182568b4ce |
comparison
equal
deleted
inserted
replaced
1946:9fee186f7f0d | 1948:ebe273a16048 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 hg init | 3 hg init |
4 echo a > a | 4 echo a > a |
5 hg add a | 5 hg add a |
6 hg commit -m "test" -d "0 0" | 6 hg commit -m "test" -d "1000000 0" |
7 hg history | 7 hg history |
8 hg tag -d "0 0" "bleah" | 8 hg tag -d "1000000 0" "bleah" |
9 hg history | 9 hg history |
10 | 10 |
11 echo foo >> .hgtags | 11 echo foo >> .hgtags |
12 hg tag -d "0 0" "bleah2" || echo "failed" | 12 hg tag -d "1000000 0" "bleah2" || echo "failed" |
13 hg tag -d "0 0" -r 0 "bleah2" 1 || echo "failed" | 13 hg tag -d "1000000 0" -r 0 "bleah2" 1 || echo "failed" |
14 | 14 |
15 hg revert .hgtags | 15 hg revert .hgtags |
16 hg tag -d "0 0" -r 0 "bleah0" | 16 hg tag -d "1000000 0" -r 0 "bleah0" |
17 hg tag -l -d "0 0" "bleah1" 1 | 17 hg tag -l -d "1000000 0" "bleah1" 1 |
18 | 18 |
19 cat .hgtags | 19 cat .hgtags |
20 cat .hg/localtags | 20 cat .hg/localtags |
21 | 21 |
22 hg tag -l 'xx | 22 hg tag -l 'xx |