tests/test-revert-flags
author Mads Kiilerich <mads@kiilerich.com>
Wed, 06 Jan 2010 03:27:15 +0100
branchstable
changeset 10255 26fc868cb8b0
parent 6030 d0dbae32517c
permissions -rwxr-xr-x
mercurial.spec: Alignment with AIX spec by Jim Hague * Require Python 2.4 or later * Note that hgk uses tk - but don't require it * Remove bashism to support ksh * Install mq.el * Handle uncompressed man pages

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