tests/test-conflict
changeset 1933 7544700fd931
parent 1925 c71420b186b0
child 2283 e506c14382fd
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 hg init
     3 hg init
     4 echo "nothing" > a
     4 echo "nothing" > a
     5 hg add a
     5 hg add a
     6 hg commit -m ancestor -d "0 0"
     6 hg commit -m ancestor -d "1000000 0"
     7 echo "something" > a
     7 echo "something" > a
     8 hg commit -m branch1 -d "0 0"
     8 hg commit -m branch1 -d "1000000 0"
     9 hg co 0
     9 hg co 0
    10 echo "something else" > a
    10 echo "something else" > a
    11 hg commit -m branch2 -d "0 0"
    11 hg commit -m branch2 -d "1000000 0"
    12 HGMERGE=merge; export HGMERGE
    12 HGMERGE=merge; export HGMERGE
    13 hg up -m 1
    13 hg up -m 1
    14 hg id
    14 hg id
    15 egrep -v ">>>|<<<" a
    15 egrep -v ">>>|<<<" a
    16 hg status
    16 hg status