tests/test-branches
changeset 8695 9a89253a32e6
parent 8168 8766fee6f225
child 8796 2bcef677a6c3
equal deleted inserted replaced
8694:ca8d05e1f1d1 8695:9a89253a32e6
    60 echo 'xxx2' >> b
    60 echo 'xxx2' >> b
    61 hg commit -d '8 0' -m 'adding head to branch b'
    61 hg commit -d '8 0' -m 'adding head to branch b'
    62 echo 'xxx3' >> b
    62 echo 'xxx3' >> b
    63 hg commit -d '9 0' -m 'adding another cset to branch b'
    63 hg commit -d '9 0' -m 'adding another cset to branch b'
    64 hg branches
    64 hg branches
       
    65 hg heads --closed
    65 hg heads
    66 hg heads
    66 hg heads -a
       
    67 hg commit -d '9 0' --close-branch -m 'prune bad branch'
    67 hg commit -d '9 0' --close-branch -m 'prune bad branch'
    68 hg branches -a
    68 hg branches -a
    69 hg up -C b
    69 hg up -C b
    70 hg commit -d '9 0' --close-branch -m 'close this part branch too'
    70 hg commit -d '9 0' --close-branch -m 'close this part branch too'
    71 echo '--- b branch should be inactive'
    71 echo '--- b branch should be inactive'
    73 hg branches -a
    73 hg branches -a
    74 echo 'xxx4' >> b
    74 echo 'xxx4' >> b
    75 hg commit -d '9 0' -m 'reopen branch with a change'
    75 hg commit -d '9 0' -m 'reopen branch with a change'
    76 echo '--- branch b is back in action'
    76 echo '--- branch b is back in action'
    77 hg branches -a
    77 hg branches -a
       
    78 hg heads -c
    78 hg heads
    79 hg heads
    79 hg heads -a