tests/test-copy
changeset 1043 9344f5dd4488
parent 814 0902ffece4b4
child 1252 94f38724283f
equal deleted inserted replaced
1042:23f9d71ab9ae 1043:9344f5dd4488
     7 hg status
     7 hg status
     8 cp a b
     8 cp a b
     9 hg copy a b
     9 hg copy a b
    10 hg status
    10 hg status
    11 hg --debug commit -m "2" -d "0 0"
    11 hg --debug commit -m "2" -d "0 0"
    12 hg history
    12 echo "we should see two history entries"
       
    13 hg history -v
       
    14 echo "we should see one log entry for a"
    13 hg log a
    15 hg log a
       
    16 echo "this should show a revision linked to changeset 0"
       
    17 hg debugindex .hg/data/a.i
       
    18 echo "we should see one log entry for b"
       
    19 hg log b
       
    20 echo "this should show a revision linked to changeset 1"
       
    21 hg debugindex .hg/data/b.i
       
    22 
       
    23 echo "this should show the rename information in the metadata"
       
    24 hg debugdata .hg/data/b.d 0 | head -n 3 | tail -n 2
       
    25 
    14 md5sum .hg/data/b.d
    26 md5sum .hg/data/b.d
    15 hg cat b > bsum
    27 hg cat b > bsum
    16 md5sum bsum
    28 md5sum bsum
    17 hg cat a > asum
    29 hg cat a > asum
    18 md5sum asum
    30 md5sum asum