tests/test-tags
changeset 3577 7f7425306925
parent 2973 fb493241d7f6
child 4143 26314500a5e1
equal deleted inserted replaced
3576:00427c4b533b 3577:7f7425306925
    58 hg commit -m "head" -d "1000000 0"
    58 hg commit -m "head" -d "1000000 0"
    59 
    59 
    60 hg tags
    60 hg tags
    61 hg tip
    61 hg tip
    62 
    62 
       
    63 # tags from later heads override previous ones
       
    64 cd ..
       
    65 hg init t2
       
    66 cd t2
       
    67 echo foo > foo
       
    68 hg add foo
       
    69 hg ci -m 'add foo' -d '1000000 0'      # rev 0
       
    70 hg tag -d '1000000 0' bar              # rev 1
       
    71 echo >> foo
       
    72 hg ci -m 'change foo 1' -d '1000000 0' # rev 2
       
    73 hg up -C 1
       
    74 hg tag -r 1 -d '1000000 0' bar         # rev 3
       
    75 hg up -C 1
       
    76 echo >> foo
       
    77 hg ci -m 'change foo 2' -d '1000000 0' # rev 4
       
    78 hg tags