tests/test-up-issue1456
author Alexander Solovyov <piranha@piranha.org.ua>
Mon, 11 May 2009 14:20:18 +0200
changeset 8345 dcebff8a25dd
parent 7630 a679bd371091
child 8855 f331de880cbb
permissions -rwxr-xr-x
hgwebdir: read --webdir-conf as actual configuration to ui (issue1586) This cleans up code and allows specification of values more globally. For example, it's now possible to specify web.contact in webdir-conf for all repositories without a specified contact set.

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

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