Search code examples
mercurialclone

Mercurial clone multiple repositories


Is there a way to clone multiple projects at the same time?

I have this project that contains multiple extensions each extension is on a different repo, I would like to be able to clone all extensions with one call. Is there a way to pipe URLs into gh clone command?


Solution

  • How about basic scripting, something like:

    for repo in repo1 repo2 repo3 
    do 
        hg clone $repo
    done