##// END OF EJS Templates
audit: reject paths with .hg (issue 1450)...
audit: reject paths with .hg (issue 1450) Spotted by Peter Arrenbrecht

File last commit:

r5158:d316124e default
r7553:71be8688 default
Show More
test-audit-path
23 lines | 236 B | text/plain | TextLexer
#!/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