ShallowClone, partial history clone
Augie Fackler
raf at durin42.com
Sat Jul 26 14:33:22 UTC 2014
On Jul 26, 2014, at 4:20 AM, Michael Augustin <maugustin at gmx.net> wrote:
> Hi,
>
> What about the partial history clone topics described in the wiki?
>
> Would this be a topic for the sprint in Munich?
It's likely to come up. It's newly relevant to my interests. I've already added the first step to the wiki: sharding the manifest so that you can have meaningfully narrow clones. I've got some rough ideas, but I have not yet written them up.
>
> Some links:
> http://mercurial.selenic.com/wiki/TrimmingHistory
> http://mercurial.selenic.com/wiki/OverlayRepository
> http://mercurial.selenic.com/wiki/ShallowClone
>
> Most of this pages are marked as "no longer relevant" - is that true? The longer I'm working on a big project the situation of cloning history, that is not relevant or even visible to most of the developers, but the full repository must always be cloned to each developers maschine.
>
> As a workaround - until shallowclone feature is supported by hg :-) - I'm working with a subversion server, hgsubversion and mercurial/totoisehg. While only a part (about one year history) of the development trunk is cloned via hgsubversion into hg repo. Full history is always available in SVN. That way the HG repo size can be choosen without loosing history (in svn) on source code.
>
> This setup has of course drawbacks as a single-branch-hgsubversion-clone is very limited. That's why a shallow clone support in HG would be a great feature for using HG in big and long running enterprise projects and point against subversion.
>
> Kind regards
> Michael
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140726/22cc7cf2/attachment.asc>
More information about the Mercurial
mailing list