Fetch a Mercurial repository. args can be a URL, in which case the default branch of the repo at that URL is fetched. Otherwise, it can be an attribute with the following attributes (all except url optional):

The return value is an attrset containing the following keys: