fix issue 1763: strip chars from end of line when parsing gitpatch lines
#!/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