tests/test-up-issue1456
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 07 Jan 2009 02:11:17 +0100
changeset 7569 89207edf3973
child 7630 a679bd371091
permissions -rwxr-xr-x
correctly update dirstate after update+mode change (issue1456)

#!/bin/sh

rm -rf a
hg init a
cd a

echo foo > foo
hg ci -qAm0
chmod +x foo
hg ci -m1
hg co -q 0
echo dirty > foo
sleep 1
hg up -q
cat foo
hg st -A