You might wish instead to do local clones of the first repo. hg clone http://hg.openjdk.java.net/jdk9/dev first cd first sh get_source.sh (with possibly some "magic" url) cd .. hg clone first second cd second sh get_source.sh ../first
If you need to move repos between local machines or VMs you can also use, for jdk9 repos, sh common/bin/hgforest.sh serve and then use hg clone http://myhost.com:8000/repo repo cd repo sh get_source.sh http://myhost.com:8000/ where "myhost.com" and "repo" are replaced with the names shown in the status output from the serve command. There is nothing encoded in the repo which should cause problems due to copying but a local clone *should* be faster and use less disk space. HTH, Mike On Apr 11 2014, at 16:26 , Pete Brunet <peter.bru...@oracle.com> wrote: > Since it takes forever to clone on my Win machine, in the case where I > want to work on several bugs, is it OK to instead clone the first > directory and then cp -ar that to n additional directories? -Pete