tests/test-copy
changeset 1933 7544700fd931
parent 1926 ba198d17eea9
child 2223 b72562060e45
equal deleted inserted replaced
1932:82995896d5af 1933:7544700fd931
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 hg init
     3 hg init
     4 echo a > a
     4 echo a > a
     5 hg add a
     5 hg add a
     6 hg commit -m "1" -d "0 0"
     6 hg commit -m "1" -d "1000000 0"
     7 hg status
     7 hg status
     8 hg copy a b
     8 hg copy a b
     9 hg status
     9 hg status
    10 hg --debug commit -m "2" -d "0 0"
    10 hg --debug commit -m "2" -d "1000000 0"
    11 echo "we should see two history entries"
    11 echo "we should see two history entries"
    12 hg history -v
    12 hg history -v
    13 echo "we should see one log entry for a"
    13 echo "we should see one log entry for a"
    14 hg log a
    14 hg log a
    15 echo "this should show a revision linked to changeset 0"
    15 echo "this should show a revision linked to changeset 0"