Sparse repositories and fclone/fpull
Brad Wetmore
Bradford.Wetmore at Sun.COM
Mon Nov 12 22:58:16 UTC 2007
One of the Mercurial assumptions a few of us (Tim/Kelly/I) have been
working under is that we can use "partial trees" for our builds/tests.
For example, for my gatekeeping, I want to build most things, but not
hotspot and some of the closed repositories (install).
So I fclone'd openjdk, then deleted hotspot. Watch the fpull:
% \rm -rf hotspot
% hg fpull
[.]
pulling from http://hg.openjdk.java.net/jdk7/tl/
searching for changes
no changes found
[corba]
pulling from http://hg.openjdk.java.net/jdk7/tl/corba
searching for changes
no changes found
[hotspot]
requesting all changes
adding changesets
adding manifests
adding file changes
added 6 changesets with 2899 changes to 2896 files
...deleted...
Yep, the subrepository I deleted was recreated...sigh...looks like I
have to keep everything around, or else clone each subrepository separately.
So, is there an option to only update the subrepositories that are present?
Brad
More information about the build-dev
mailing list