test-tag
25 lines
| 419 B
| text/plain
|
TextLexer
/ tests / test-tag
Thomas Arendsen Hein
|
r800 | #!/bin/sh | ||
mpm@selenic.com
|
r401 | |||
hg init | ||||
echo a > a | ||||
hg add a | ||||
Thomas Arendsen Hein
|
r1933 | hg commit -m "test" -d "1000000 0" | ||
mpm@selenic.com
|
r401 | hg history | ||
Thomas Arendsen Hein
|
r1933 | hg tag -d "1000000 0" "bleah" | ||
mpm@selenic.com
|
r401 | hg history | ||
echo foo >> .hgtags | ||||
Thomas Arendsen Hein
|
r1933 | hg tag -d "1000000 0" "bleah2" || echo "failed" | ||
hg tag -d "1000000 0" -r 0 "bleah2" 1 || echo "failed" | ||||
mpm@selenic.com
|
r401 | |||
Benoit Boissinot
|
r1596 | hg revert .hgtags | ||
Thomas Arendsen Hein
|
r1933 | hg tag -d "1000000 0" -r 0 "bleah0" | ||
hg tag -l -d "1000000 0" "bleah1" 1 | ||||
Benoit Boissinot
|
r1596 | |||
cat .hgtags | ||||
cat .hg/localtags | ||||
Benoit Boissinot
|
r1561 | hg tag -l 'xx | ||
newline' | ||||
hg tag -l 'xx:xx' | ||||
true | ||||