make mq and tags hardlink safe
The code didn't check for modes like "r+" or "rb+".
Many thanks to agriffis for noticing it.
#!/bin/sh"$TESTDIR/hghave" symlink ||exit80hg 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