tests/test-rename-merge1
branchstable
changeset 12795 3cb0559e44d0
parent 12793 469850088fc1
parent 12794 6bf8d48bec8e
child 12796 bc69ba99e34b
equal deleted inserted replaced
12793:469850088fc1 12795:3cb0559e44d0
     1 #!/bin/sh
       
     2 
       
     3 mkdir t
       
     4 cd t
       
     5 hg init
       
     6 echo "[merge]" >> .hg/hgrc
       
     7 echo "followcopies = 1" >> .hg/hgrc
       
     8 echo foo > a
       
     9 echo foo > a2
       
    10 hg add a a2
       
    11 hg ci -m "start"
       
    12 hg mv a b
       
    13 hg mv a2 b2
       
    14 hg ci -m "rename"
       
    15 echo "checkout"
       
    16 hg co 0
       
    17 echo blahblah > a
       
    18 echo blahblah > a2
       
    19 hg mv a2 c2
       
    20 hg ci -m "modify"
       
    21 echo "merge"
       
    22 hg merge -y --debug
       
    23 hg status -AC
       
    24 cat b
       
    25 hg ci -m "merge"
       
    26 hg debugindex .hg/store/data/b.i
       
    27 hg debugrename b