tests/test-update-renames
changeset 12299 a73684df0f8a
parent 12298 f254204d8b8d
child 12300 ca31b0b2ac16
equal deleted inserted replaced
12298:f254204d8b8d 12299:a73684df0f8a
     1 #!/bin/sh
       
     2 
       
     3 # test update logic when there are renames
       
     4 
       
     5 
       
     6 # update with local changes across a file rename
       
     7 hg init a
       
     8 cd a
       
     9 echo a > a
       
    10 hg add a
       
    11 hg ci -m a
       
    12 hg mv a b
       
    13 hg ci -m rename
       
    14 echo b > b
       
    15 hg ci -m change
       
    16 hg up -q 0
       
    17 echo c > a
       
    18 hg up
       
    19 cd ..