hg clone for large repository
Tony Mechelynck
antoine.mechelynck at gmail.com
Sun Aug 1 04:59:12 UTC 2010
On 31/07/10 17:42, karkrish wrote:
>
> hi ,
>
> I tried to clone a repository of size ~1.7G in windows . It takes long time
> to clone
>
> destination directory: mytest
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 2908 changesets with 23759 changes to 14424 files
> updating to branch default
> Time: real 2626.080 secs (user 160.734+0.000 sys 139.766+0.000)
>
> Is there any way to clone separate directory .
> How to speed up the clone process for such a repository .
>
> Thanks,
> Karthi
>
>
If you have successfully cloned it once, further updates of that new
clone will be much faster.
If you want to clone it on a third machine, produce a bundle and
transfer that, then most of setting up the new clone can be done locally
on the machine where the new clone will sit.
See
http://benjamin.smedbergs.us/blog/2008-06-05/getting-mozilla-central-with-limited-bandwidth/
for a step-by-step procedure (for a big Mercurial repo, probably not the
one you want to clone, but you can get inspiration from it).
Best regards,
Tony.
--
Law of Selective Gravity:
An object will fall so as to do the most damage.
Jenning's Corollary:
The chance of the bread falling with the buttered side down is
directly proportional to the cost of the carpet.
More information about the Mercurial
mailing list