tests/test-revert-flags.t
changeset 12110 58a8105242a5
parent 6030 d0dbae32517c
child 16913 f2719b387380
equal deleted inserted replaced
12109:51272b65b9b7 12110:58a8105242a5
       
     1   $ "$TESTDIR/hghave" execbit || exit 80
       
     2 
       
     3   $ hg init repo
       
     4   $ cd repo
       
     5   $ echo foo > foo
       
     6   $ chmod 644 foo
       
     7   $ hg ci -qAm '644'
       
     8 
       
     9   $ chmod 755 foo
       
    10   $ hg ci -qAm '755'
       
    11 
       
    12 reverting to rev 0
       
    13 
       
    14   $ hg revert -a -r 0
       
    15   reverting foo
       
    16   $ hg st
       
    17   M foo
       
    18   $ hg diff --git
       
    19   diff --git a/foo b/foo
       
    20   old mode 100755
       
    21   new mode 100644