remote-hg: add support for hg-git compat mode