##// END OF EJS Templates
hgweb: move another utility function into the webutil module
hgweb: move another utility function into the webutil module

File last commit:

r5158:d316124e default
r7311:de9c87fe default
Show More
test-audit-path
23 lines | 236 B | text/plain | TextLexer
Bryan O'Sullivan
Make audit_path more stringent....
r5158 #!/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