Add support for mercurial subrepos