tests/test-revert-flags
branchstable
changeset 12795 3cb0559e44d0
parent 12793 469850088fc1
parent 12794 6bf8d48bec8e
child 12796 bc69ba99e34b
equal deleted inserted replaced
12793:469850088fc1 12795:3cb0559e44d0
     1 #!/bin/sh
       
     2 
       
     3 "$TESTDIR/hghave" execbit || exit 80
       
     4 
       
     5 hg init repo
       
     6 cd repo
       
     7 echo foo > foo
       
     8 chmod 644 foo
       
     9 hg ci -qAm '644'
       
    10 
       
    11 chmod 755 foo
       
    12 hg ci -qAm '755'
       
    13 
       
    14 echo '% reverting to rev 0'
       
    15 hg revert -a -r 0
       
    16 hg st
       
    17 hg diff --git