tests/test-revert-flags
author Christian Ebert <blacktrash@gmx.net>
Thu, 12 Jun 2008 11:01:36 +0200
changeset 6667 01e95d4bc66c
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
keyword: disable expansion for annotate Keyword expansion should not be annotated. Annotate revision when unexpanded keyword was inserted. Add test.

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