tests/test-revert-flags
author Andrew Beekhof <beekhof@gmail.com>
Wed, 11 Jun 2008 14:49:53 +0200
changeset 6659 bc553c6d1ef9
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
webcommands: fix increments lost by 894875eae49b

#!/bin/sh

"$TESTDIR/hghave" execbit || exit 80

hg init repo
cd repo
echo foo > foo
chmod 644 foo
hg ci -qAm '644'

chmod 755 foo
hg ci -qAm '755'

echo '% reverting to rev 0'
hg revert -a -r 0
hg st
hg diff --git