tests/test-tags
changeset 749 7e4843b7efd2
parent 547 4fc63e22b1fe
child 800 ec85f9e6f3b1
child 808 8f5637f0a0c0
child 814 0902ffece4b4
equal deleted inserted replaced
748:c5df1a9c5276 749:7e4843b7efd2
     5 cd t
     5 cd t
     6 hg init
     6 hg init
     7 hg id
     7 hg id
     8 echo a > a
     8 echo a > a
     9 hg add a
     9 hg add a
    10 hg commit -t "test" -u test -d "0 0"
    10 hg commit -m "test" -d "0 0"
    11 hg co
    11 hg co
    12 hg identify
    12 hg identify
    13 T=`hg -q tip | cut -d : -f 2`
    13 T=`hg -q tip | cut -d : -f 2`
    14 echo "$T first" > .hgtags
    14 echo "$T first" > .hgtags
    15 cat .hgtags
    15 cat .hgtags
    16 hg add .hgtags
    16 hg add .hgtags
    17 hg commit -t "add tags" -u test -d "0 0"
    17 hg commit -m "add tags" -d "0 0"
    18 hg tags
    18 hg tags
    19 hg identify
    19 hg identify
    20 echo bb > a
    20 echo bb > a
    21 hg status
    21 hg status
    22 hg identify
    22 hg identify
    24 hg id
    24 hg id
    25 hg -v id
    25 hg -v id
    26 hg status
    26 hg status
    27 echo 1 > b
    27 echo 1 > b
    28 hg add b
    28 hg add b
    29 hg commit -t "branch" -u test -d "0 0"
    29 hg commit -m "branch" -d "0 0"
    30 hg id
    30 hg id
    31 hg co -m 1
    31 hg co -m 1
    32 hg id
    32 hg id
    33 hg status
    33 hg status
    34 
    34