tests/test-copy
changeset 749 7e4843b7efd2
parent 591 eb46971fc57f
child 800 ec85f9e6f3b1
child 808 8f5637f0a0c0
child 814 0902ffece4b4
equal deleted inserted replaced
748:c5df1a9c5276 749:7e4843b7efd2
     2 
     2 
     3 set -x
     3 set -x
     4 hg init
     4 hg init
     5 echo a > a
     5 echo a > a
     6 hg add a
     6 hg add a
     7 hg commit -t "1" -u test -d "0 0"
     7 hg commit -m "1" -d "0 0"
     8 hg status
     8 hg status
     9 cp a b
     9 cp a b
    10 hg copy a b
    10 hg copy a b
    11 hg status
    11 hg status
    12 hg --debug commit -t "2" -u test -d "0 0"
    12 hg --debug commit -m "2" -d "0 0"
    13 hg history
    13 hg history
    14 hg log a
    14 hg log a
    15 hexdump -C .hg/data/b.d
    15 hexdump -C .hg/data/b.d
    16 hg cat b > bsum
    16 hg cat b > bsum
    17 md5sum bsum
    17 md5sum bsum