tests/test-tags
changeset 2973 fb493241d7f6
parent 2320 dbdce3b99988
child 3577 7f7425306925
equal deleted inserted replaced
2972:96d034d02d61 2973:fb493241d7f6
     7 echo a > a
     7 echo a > a
     8 hg add a
     8 hg add a
     9 hg commit -m "test" -d "1000000 0"
     9 hg commit -m "test" -d "1000000 0"
    10 hg co
    10 hg co
    11 hg identify
    11 hg identify
    12 T=`hg tip -v | head -n 1 | cut -d : -f 3`
    12 T=`hg tip --debug | 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 "1000000 0"
    16 hg commit -m "add tags" -d "1000000 0"
    17 hg tags
    17 hg tags