tests/test-push-warn
changeset 1933 7544700fd931
parent 839 9c918287d10b
child 2021 fc22ed56afe3
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
     3 mkdir a
     3 mkdir a
     4 cd a
     4 cd a
     5 hg init
     5 hg init
     6 echo foo > t1
     6 echo foo > t1
     7 hg add t1
     7 hg add t1
     8 hg commit -m "1" -d "0 0"
     8 hg commit -m "1" -d "1000000 0"
     9 
     9 
    10 cd ..
    10 cd ..
    11 hg clone a b
    11 hg clone a b
    12 
    12 
    13 cd a
    13 cd a
    14 echo foo > t2
    14 echo foo > t2
    15 hg add t2
    15 hg add t2
    16 hg commit -m "2" -d "0 0"
    16 hg commit -m "2" -d "1000000 0"
    17 
    17 
    18 cd ../b
    18 cd ../b
    19 echo foo > t3
    19 echo foo > t3
    20 hg add t3
    20 hg add t3
    21 hg commit -m "3" -d "0 0"
    21 hg commit -m "3" -d "1000000 0"
    22 
    22 
    23 hg push ../a
    23 hg push ../a
    24 hg pull ../a
    24 hg pull ../a
    25 hg push ../a
    25 hg push ../a
    26 hg up -m
    26 hg up -m
    27 hg commit -m "4" -d "0 0"
    27 hg commit -m "4" -d "1000000 0"
    28 hg push ../a
    28 hg push ../a