tests/test-revert-flags
author Robert Bauck Hamar <r.b.hamar@usit.uio.no>
Mon, 09 Feb 2009 19:00:55 +0100
changeset 7747 5f7512f680cb
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
hgk: added explanation to .hgk for background colour

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