Subtree clone in 2016
Augie Fackler
raf at durin42.com
Mon Apr 18 14:36:39 UTC 2016
> On Apr 15, 2016, at 16:09, anatoly techtonik <techtonik at gmail.com> wrote:
>
> Hi,
>
> I wonder if Mercurial got some modern way to
> get a clone of subtree since 2012?
> https://www.mercurial-scm.org/wiki/PartialClone
This is in progress at https://bitbucket.org/Google/narrowhg, but it's probably not ready enough that you should count on it being reliable.
>
> I need to make a Python module from Roundup
> repository into a separate project, so I need to
> clone its subtree and push it somewhere else.
Ah, but you want to produce a new history of part of the repo and push it as its own repo somewhere? Then convert is your best bet, because you're making a new repo, not merely working locally on a partial checkout.
(I'll make a mental note to try and differentiate these concepts in the narrowhg docs at some point.)
>
> Are convert + filter is the state of the art in 2016?
>
> Thanks.
>
> Please, CC.
> --
> anatoly t.
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
More information about the Mercurial
mailing list