tests/test-rename-merge1
changeset 8167 6c82beaaa11a
parent 3853 c0b449154a90
equal deleted inserted replaced
8166:56719b1aa6f4 8167:6c82beaaa11a
     6 echo "[merge]" >> .hg/hgrc
     6 echo "[merge]" >> .hg/hgrc
     7 echo "followcopies = 1" >> .hg/hgrc
     7 echo "followcopies = 1" >> .hg/hgrc
     8 echo foo > a
     8 echo foo > a
     9 echo foo > a2
     9 echo foo > a2
    10 hg add a a2
    10 hg add a a2
    11 hg ci -m "start" -d "0 0"
    11 hg ci -m "start"
    12 hg mv a b
    12 hg mv a b
    13 hg mv a2 b2
    13 hg mv a2 b2
    14 hg ci -m "rename" -d "0 0"
    14 hg ci -m "rename"
    15 echo "checkout"
    15 echo "checkout"
    16 hg co 0
    16 hg co 0
    17 echo blahblah > a
    17 echo blahblah > a
    18 echo blahblah > a2
    18 echo blahblah > a2
    19 hg mv a2 c2
    19 hg mv a2 c2
    20 hg ci -m "modify" -d "0 0"
    20 hg ci -m "modify"
    21 echo "merge"
    21 echo "merge"
    22 hg merge -y --debug
    22 hg merge -y --debug
    23 hg status -AC
    23 hg status -AC
    24 cat b
    24 cat b
    25 hg ci -m "merge" -d "0 0"
    25 hg ci -m "merge"
    26 hg debugindex .hg/store/data/b.i
    26 hg debugindex .hg/store/data/b.i
    27 hg debugrename b
    27 hg debugrename b