tests/test-unrelated-pull
changeset 12156 4c94b6d0fb1c
parent 1960 dac4bd67f6c5
equal deleted inserted replaced
12155:94ad12aa0530 12156:4c94b6d0fb1c
     3 mkdir a
     3 mkdir a
     4 cd a
     4 cd a
     5 hg init
     5 hg init
     6 echo 123 > a
     6 echo 123 > a
     7 hg add a
     7 hg add a
     8 hg commit -m "a" -u a -d "1000000 0"
     8 hg commit -m "a" -u a
     9 
     9 
    10 cd ..
    10 cd ..
    11 mkdir b
    11 mkdir b
    12 cd b
    12 cd b
    13 hg init
    13 hg init
    14 echo 321 > b
    14 echo 321 > b
    15 hg add b
    15 hg add b
    16 hg commit -m "b" -u b -d "1000000 0"
    16 hg commit -m "b" -u b
    17 
    17 
    18 hg pull ../a
    18 hg pull ../a
    19 hg pull -f ../a
    19 hg pull -f ../a
    20 hg heads
    20 hg heads