Check if a url is a mercurial repository (like git ls-remote)
Asked 2013-04-22T11:16:58.500
8
How can I check whether a URL points to a mercurial repository? With git, I would use git ls-remote $url and check the return value. Is there something similar for hg?