tests/test-up-issue1456
author Yuya Nishihara <yuya@tcha.org>
Wed, 28 Oct 2009 23:59:18 +0900
changeset 9661 c4f6c02e33c4
parent 8855 f331de880cbb
permissions -rwxr-xr-x
hgweb: added test case for extension loading phases (issue1824) this checks the order of module loading phases of hgweb. `4) reposetup' lines are duplicated because hgweb calls hg.repository() twice, one by __init__, another by refresh.

#!/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
hg up -c
hg up -q
cat foo
hg st -A

echo '% validate update of standalone execute bit change'
hg up -C 0
chmod -x foo
hg ci -m removeexec
hg up -C 0
hg up
hg st