tests/test-audit-path
author Matt Mackall <mpm@selenic.com>
Wed, 16 Jan 2008 11:14:24 -0600
changeset 5863 3d1f9dcecdea
parent 5158 d316124ebbea
child 7554 11a4eb81fb4f
permissions -rwxr-xr-x
diff: don't show function name by default We'd mistakenly made the -p option always on, which meant there was no way to turn it off. It also meant that we were sometimes splitting multibyte characters in function name, which isn't a good default.

#!/bin/sh

hg init

echo % should fail
hg add .hg/00changelog.i

mkdir a
echo a > a/a
hg ci -Ama
ln -s a b
echo b > a/b

echo % should fail
hg add b/b

echo % should succeed
hg add b

echo % should still fail - maybe
hg add b/b

exit 0