tests/test-tags
changeset 4143 26314500a5e1
parent 3577 7f7425306925
child 4215 e29f2db5ab18
equal deleted inserted replaced
4142:ba3e13306f70 4143:26314500a5e1
     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 --debug | head -n 1 | cut -d : -f 3`
    12 T=`hg tip --debug | head -n 1 | cut -d : -f 3`
       
    13 hg tag -l "This is a local tag with a really long name!"
       
    14 hg tags
       
    15 rm .hg/localtags
    13 echo "$T first" > .hgtags
    16 echo "$T first" > .hgtags
    14 cat .hgtags
    17 cat .hgtags
    15 hg add .hgtags
    18 hg add .hgtags
    16 hg commit -m "add tags" -d "1000000 0"
    19 hg commit -m "add tags" -d "1000000 0"
    17 hg tags
    20 hg tags