tests/test-revert-flags
author Martin Geisler <mg@lazybytes.net>
Mon, 02 Nov 2009 21:02:56 +0100
changeset 9700 26fc6024dd06
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
doc: use reST note directive The 'NOTE: bla bla' syntax was for asciidoc and is still present in a couple of docstrings. The docstrings will be converted to reST format when minirst knows how to handle it.

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