tests/test-transplant
changeset 8167 6c82beaaa11a
parent 6639 6334569c8caa
child 8173 d3fb413667e5
equal deleted inserted replaced
8166:56719b1aa6f4 8167:6c82beaaa11a
    71 foo
    71 foo
    72 bar
    72 bar
    73 baz
    73 baz
    74 EOF
    74 EOF
    75 echo toremove > toremove
    75 echo toremove > toremove
    76 hg ci -Amfoo -d '0 0'
    76 hg ci -Amfoo
    77 cat <<EOF > foo
    77 cat <<EOF > foo
    78 foo2
    78 foo2
    79 bar2
    79 bar2
    80 baz2
    80 baz2
    81 EOF
    81 EOF
    82 rm toremove
    82 rm toremove
    83 echo added > added
    83 echo added > added
    84 hg ci -Amfoo2 -d '0 0'
    84 hg ci -Amfoo2
    85 echo bar > bar
    85 echo bar > bar
    86 hg ci -Ambar -d '0 0'
    86 hg ci -Ambar
    87 echo bar2 >> bar
    87 echo bar2 >> bar
    88 hg ci -mbar2 -d '0 0'
    88 hg ci -mbar2
    89 hg up 0
    89 hg up 0
    90 echo foobar > foo
    90 echo foobar > foo
    91 hg ci -mfoobar -d '0 0'
    91 hg ci -mfoobar
    92 hg transplant 1:3
    92 hg transplant 1:3
    93 # transplant -c shouldn't use an old changeset
    93 # transplant -c shouldn't use an old changeset
    94 hg up -C
    94 hg up -C
    95 hg transplant 1
    95 hg transplant 1
    96 hg transplant --continue
    96 hg transplant --continue