Archive from remote repository
venizio krups
0000.vk at gmail.com
Mon Jun 1 15:07:22 CDT 2009
On Mon, Jun 1, 2009 at 3:46 PM, Stanimir Stamenkov <s7an10 at netscape.net> wrote:
> I'm new to Mercurial and I'm still learning. As far as I've got
> there's no built-in support for shallow and partial cloning. Is
> there a command to archive/checkout/export a single revision of a
> remote repository?
>
> I've just needed this while trying to get very small part (~350 KB)
> of the NetBeans sources. Checking out a ~1 GB repository is not an
> acceptable option for me as I have pretty slow Internet connection
> for such amounts of data.
>
> --
> Stanimir
hello,
from hg help clone:
""" If you use the -r option to clone up to a specific revision, no
subsequent revisions will be present in the cloned repository.
This option implies --pull, even on local repositories. """
this of course means you don't have the latest sources but only up to
a fixed point in the past.
you could do it in stages from here though.
-vk
More information about the Mercurial
mailing list