- hg -R takes a path to the repo root, not to the .hg directory under it
Without this patch, $hg_cmd will always fail complaining that it can't find a repository
- look for any parent with a svnrev in an hg repo
The previous behavior worked if you were making changes directly off the current branch, but if you are a few branch points away from an svn-based commit, "hg svn info" fails with the error "Sorry, can't find svn parent of a merge revision."