tests/test-revert-flags
author Augie Fackler <durin42@gmail.com>
Sun, 07 Feb 2010 07:37:05 -0600
changeset 10372 27d542bc0f5b
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
qnew: ignore force option This makes the default behavior the same as qnew --force, and deprecates the force option.

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