HomePhabricator

urlutil: extract `parseurl` from `hg` into the new module

Authored by marmoute.

Description

urlutil: extract parseurl from hg into the new module

The new module is well fitting for this new code. And this will be useful to
make the gathered code collaborate more later.

Differential Revision: https://phab.mercurial-scm.org/D10375