svn: fix the case in resolve_rev when git-svn works