tests/test-revert-flags
author Wagner Bruna <wbruna@yahoo.com>
Sat, 10 Jul 2010 14:28:38 -0300
branchstable
changeset 11528 6f44bd4cc4f2
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
i18n-pt_BR: synchronized with dec57aa0f8ca

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