tests/test-branches
changeset 8796 2bcef677a6c3
parent 8695 9a89253a32e6
child 8991 7e0b31dfc66f
equal deleted inserted replaced
8795:51c29aec0b75 8796:2bcef677a6c3
    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'
    72 hg branches
    72 hg branches
    73 hg branches -a
    73 hg branches -a
       
    74 hg heads b
       
    75 hg heads --closed b
    74 echo 'xxx4' >> b
    76 echo 'xxx4' >> b
    75 hg commit -d '9 0' -m 'reopen branch with a change'
    77 hg commit -d '9 0' -m 'reopen branch with a change'
    76 echo '--- branch b is back in action'
    78 echo '--- branch b is back in action'
    77 hg branches -a
    79 hg branches -a
    78 hg heads -c
    80 echo '---- test heads listings'
    79 hg heads
    81 hg heads
       
    82 echo '% branch default'
       
    83 hg heads default
       
    84 echo '% branch a'
       
    85 hg heads a
       
    86 hg heads --active a
       
    87 echo '% branch b'
       
    88 hg heads b
       
    89 hg heads --closed b