'\' should be escaped twice, for the shell, and for tr
#!/bin/sh"$TESTDIR/hghave" symlink || exit 80hg init acd aecho '% directory moved and symlinked'mkdir footouch foo/ahg ci -Amamv foo barln -s bar fooecho '% now addremove should remove old files'hg addremove