##// END OF EJS Templates
diff: fix obscure off-by-one error in diff -p
diff: fix obscure off-by-one error in diff -p

File last commit:

r5158:d316124e default
r7436:07faba78 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