tests/test-tags
changeset 925 5a034646e472
parent 814 0902ffece4b4
child 1933 7544700fd931
equal deleted inserted replaced
924:ab681ea2857e 925:5a034646e472
     7 echo a > a
     7 echo a > a
     8 hg add a
     8 hg add a
     9 hg commit -m "test" -d "0 0"
     9 hg commit -m "test" -d "0 0"
    10 hg co
    10 hg co
    11 hg identify
    11 hg identify
    12 T=`hg -q tip | cut -d : -f 2`
    12 T=`hg tip -v | head -n 1 | cut -d : -f 3`
    13 echo "$T first" > .hgtags
    13 echo "$T first" > .hgtags
    14 cat .hgtags
    14 cat .hgtags
    15 hg add .hgtags
    15 hg add .hgtags
    16 hg commit -m "add tags" -d "0 0"
    16 hg commit -m "add tags" -d "0 0"
    17 hg tags
    17 hg tags