remote-hg: fix support for hg v1.8

The code is equivalent, because hg.parseurl() calls util.url() in later
versions.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>