##// END OF EJS Templates
change 'hg tag' to tag the parent rev instead of tip
change 'hg tag' to tag the parent rev instead of tip

File last commit:

r2647:46182568 default
r2647:46182568 default
Show More
test-tag
30 lines | 493 B | text/plain | TextLexer
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 #!/bin/sh
mpm@selenic.com
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>...
r401
hg init
echo a > a
hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m "test" -d "1000000 0"
mpm@selenic.com
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>...
r401 hg history
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg tag -d "1000000 0" "bleah"
mpm@selenic.com
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>...
r401 hg history
echo foo >> .hgtags
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg tag -d "1000000 0" "bleah2" || echo "failed"
hg tag -d "1000000 0" -r 0 "bleah2" 1 || echo "failed"
mpm@selenic.com
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>...
r401
Benoit Boissinot
fix 'hg tag <tagname> <revision>...
r1596 hg revert .hgtags
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg tag -d "1000000 0" -r 0 "bleah0"
hg tag -l -d "1000000 0" "bleah1" 1
Benoit Boissinot
fix 'hg tag <tagname> <revision>...
r1596
cat .hgtags
cat .hg/localtags
Benoit Boissinot
change 'hg tag' to tag the parent rev instead of tip
r2647 hg update 0
hg tag -d "1000000 0" "foobar"
cat .hgtags
cat .hg/localtags
Benoit Boissinot
disallow '\n' and '\r' in tag names...
r1561 hg tag -l 'xx
newline'
hg tag -l 'xx:xx'
true