init: wrap hgutil.url so that we can use isgitsshuri
Previously, cloning from a git ssh uri (e.g. git@github.com:user/repo.git) would prepend the local file path because Mercurial classifies this as a path (since there is no scheme at the beginning of the string). This patch fixes that by doing the same logic as before in hgutil.url so that the correct hgrc path is written.
Please register or sign in to comment