Working with Subversion
Luca
yelsma at tin.it
Wed Jul 13 21:35:36 UTC 2011
Il 12/07/2011 13.28, Daniel Carrera ha scritto:
> Hello,
>
> I wrote here about a month ago. I am working with the GCC project and
> I'd like to use Mercurial.
>
> Basically, GCC is huge and hg subversion takes ages to convert the
> repository... and then it fails. Same story using the convert plugin
> (and note that the convert plugin would not be as useful for
> collaboration).
>
> The last suggestion then was to try the social approach and ask the
> Bitbucket guys if they could make a mirror for me. The Bitbucket guys
> tried really hard, they bet over backwards and spent weeks trying to
> get either hgsubversion or convert to work.
>
> In the end, so far it looks like the only way to convert GCC's
> subversion to Mercurial is to grab the *Git* repository and convert
> that. This still takes several days, but it works in the end. But this
> is not really satisfactory as a solution, as it does little to help
> someone contribute to GCC using Mercurial.
>
> Today I was thinking about this issue again,a and browsing I saw that
> the convert plugin supports "shallow conversions":
>
>
> http://mercurial.selenic.com/wiki/WorkingWithSubversion
>
> $ hg --config convert.svn.startrev=3 --config convert.hg.tagsbranch=0
> convert svn://repo.org/subversion/trunk trunk-mirror
>
>
> I'm not sure I understand what a shallow conversion is, but if it is
> something that makes Mercurial skip some of the history and make the
> conversion history, then maybe you can do something like that with
> hgsubversion?
>
> Does anyone know if there is a way to use hgsubversion to convert oly
> *some* of the history? Maybe something like the last 100 revisions or
> some such.
>
> Alternatively, does anyone have any new ideas as to how I can use
> Mercurial to work with a large+old SVN project?
>
> Daniel.
See the following link:
http://stackoverflow.com/questions/4503568/is-it-possible-to-clone-with-hgsubversion-in-steps
I noted that using a 64 bit OS+hg+hgsubversion I can convert to hg also
a huge svn repository (but cloning the latter from a 32 bit OS will
always fail).
Luca
More information about the Mercurial
mailing list