2005-07-29 18:19:43 +04:00
|
|
|
#!/bin/sh
|
2005-06-22 05:47:28 +04:00
|
|
|
|
|
|
|
hg init
|
|
|
|
echo a > a
|
|
|
|
hg add a
|
2005-07-22 00:05:17 +04:00
|
|
|
hg commit -m "test" -d "0 0"
|
2005-06-22 05:47:28 +04:00
|
|
|
hg history
|
2005-09-21 09:56:19 +04:00
|
|
|
hg tag -d "0 0" "bleah"
|
2005-06-22 05:47:28 +04:00
|
|
|
hg history
|
|
|
|
|
|
|
|
echo foo >> .hgtags
|
2005-09-21 09:56:19 +04:00
|
|
|
hg tag -d "0 0" "bleah2" || echo "failed"
|
2005-06-22 05:47:28 +04:00
|
|
|
|
2005-12-27 21:52:10 +03:00
|
|
|
hg revert .hgtags
|
|
|
|
hg tag -d "0 0" -r 0 "bleah0"
|
|
|
|
hg tag -l -d "0 0" "bleah1" 1
|
|
|
|
|
|
|
|
cat .hgtags
|
|
|
|
cat .hg/localtags
|
|
|
|
|
2005-11-30 00:29:14 +03:00
|
|
|
hg tag -l 'xx
|
|
|
|
newline'
|
|
|
|
hg tag -l 'xx:xx'
|
|
|
|
true
|