copy folders instead of sequential hg clones
Mike Duigou
mike.duigou at oracle.com
Fri Apr 11 23:54:00 UTC 2014
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.brunet at 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
More information about the build-dev
mailing list