tests/test-merge-local
changeset 12156 4c94b6d0fb1c
parent 4365 46280c004f22
equal deleted inserted replaced
12155:94ad12aa0530 12156:4c94b6d0fb1c
     9 echo "move me" > move
     9 echo "move me" > move
    10 for i in 1 2 3 4 5 6 7 8 9; do
    10 for i in 1 2 3 4 5 6 7 8 9; do
    11     echo "merge ok $i" >> zzz1_merge_ok
    11     echo "merge ok $i" >> zzz1_merge_ok
    12 done
    12 done
    13 echo "merge bad" > zzz2_merge_bad
    13 echo "merge bad" > zzz2_merge_bad
    14 hg ci -Am "revision 0" -d "1000000 0"
    14 hg ci -Am "revision 0"
    15 
    15 
    16 echo "# revision 1"
    16 echo "# revision 1"
    17 hg rm remove
    17 hg rm remove
    18 hg mv move moved
    18 hg mv move moved
    19 hg cp copy copied
    19 hg cp copy copied
    20 echo "added" > added
    20 echo "added" > added
    21 hg add added
    21 hg add added
    22 echo "new first line" > zzz1_merge_ok
    22 echo "new first line" > zzz1_merge_ok
    23 hg cat zzz1_merge_ok >> zzz1_merge_ok
    23 hg cat zzz1_merge_ok >> zzz1_merge_ok
    24 echo "new last line" >> zzz2_merge_bad
    24 echo "new last line" >> zzz2_merge_bad
    25 hg ci -m "revision 1" -d "1000000 0"
    25 hg ci -m "revision 1"
    26 
    26 
    27 echo "# local changes to revision 0"
    27 echo "# local changes to revision 0"
    28 hg co 0
    28 hg co 0
    29 echo "new last line" >> zzz1_merge_ok
    29 echo "new last line" >> zzz1_merge_ok
    30 echo "another last line" >> zzz2_merge_bad
    30 echo "another last line" >> zzz2_merge_bad