Clone subdir only from a large repository?

Martin Geisler mg at daimi.au.dk
Mon Jul 14 13:31:52 CDT 2008


"Joseph Turian" <turian at gmail.com> writes:

Hi!

> I want to store a large project in a repository.
>
> From certain clients on a slow link, I only want to clone the certain
> small subdirectories.
> That way, I do not have to perform a full transfer.
>
> Is this possible?

Not yet. There is a Google Summer of Code project that targets this:

  http://code.google.com/soc/2008/hg/appinfo.html?csaid=B091D9B819911D09

The Wiki has a bit of information on the page on Partial Clone:

   http://www.selenic.com/mercurial/wiki/index.cgi/PartialClone

I have not tried it yet, but it seems that some people use the forest
extension to manage several repositories in a group. If your large
project is really several smaller sub-projects that might be handy:

  http://www.selenic.com/mercurial/wiki/index.cgi/ForestExtension

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.


More information about the Mercurial mailing list