equal
deleted
inserted
replaced
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 |