tests/test-revert-flags
author Martin Geisler <mg@lazybytes.net>
Sun, 25 Oct 2009 12:50:30 +0100
changeset 9770 afe646dd78fc
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
i18n-zh_TW: synchronized with e06c940d554d

#!/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