tests/test-up-local-change
changeset 1933 7544700fd931
parent 1674 dee55c4a4963
child 2065 2ff37e3bf780
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
     4 mkdir r1
     4 mkdir r1
     5 cd r1
     5 cd r1
     6 hg init
     6 hg init
     7 echo a > a
     7 echo a > a
     8 hg addremove
     8 hg addremove
     9 hg commit -m "1" -d "0 0"
     9 hg commit -m "1" -d "1000000 0"
    10 
    10 
    11 hg clone . ../r2
    11 hg clone . ../r2
    12 cd ../r2
    12 cd ../r2
    13 hg up
    13 hg up
    14 echo abc > a
    14 echo abc > a
    17 
    17 
    18 cd ../r1
    18 cd ../r1
    19 echo b > b
    19 echo b > b
    20 echo a2 > a
    20 echo a2 > a
    21 hg addremove
    21 hg addremove
    22 hg commit -m "2" -d "0 0"
    22 hg commit -m "2" -d "1000000 0"
    23 
    23 
    24 cd ../r2
    24 cd ../r2
    25 hg -q pull ../r1
    25 hg -q pull ../r1
    26 hg status
    26 hg status
    27 hg parents
    27 hg parents
    41 cd ../r1
    41 cd ../r1
    42 hg up 0
    42 hg up 0
    43 echo b2 > b
    43 echo b2 > b
    44 echo a3 > a
    44 echo a3 > a
    45 hg addremove
    45 hg addremove
    46 hg commit -m "3" -d "0 0"
    46 hg commit -m "3" -d "1000000 0"
    47 
    47 
    48 cd ../r2
    48 cd ../r2
    49 hg -q pull ../r1
    49 hg -q pull ../r1
    50 hg status
    50 hg status
    51 hg parents
    51 hg parents