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

r6651:7f0dd352 default
r7436:07faba78 default
Show More
test-symlink-addremove
15 lines | 222 B | text/plain | TextLexer
/ tests / test-symlink-addremove
#!/bin/sh
"$TESTDIR/hghave" symlink || exit 80
hg init a
cd a
echo '% directory moved and symlinked'
mkdir foo
touch foo/a
hg ci -Ama
mv foo bar
ln -s bar foo
echo '% now addremove should remove old files'
hg addremove