Re: HgSubversion issue
(+hgsubversion list, for posterity and potential better ideas than my own)
On Feb 13, 2012, at 2:34 AM, Gianluca Romanin wrote:
> Hi Augie,
> I'm a software engineer (from Vimar, Italy : http://www.vimar.eu ) and I'm
> currently bothering you for a little issue on HgSubversion.
> I haven't posted a bug, because this is not a real bug.
>
> I'm trying to use a SVN repo server with HgSubversion but hg exits with
> "Out of memory" error and it is not possible to finish the hg pull
> correctly.
> The reason is a bad revision in the SVN repo : in a certain revision
> someone has committed its files and the whole repository again (so in a
> branch I can see
> a full recursion of trunk branch tags etc...). This error produces a lot of
> files to parse for HgSubversion in a single checkout and it runs out of
> memory because, for what I can imagine,
> all the files are stored in RAM memory. I can't operate on the SVN repo to
> correct the revision, supposing this is feasible. The repo is from a closed
> source product out of my boundaries.
> The same thing can be imported, after several hours, with git-svn, which
> uses the native svn checkout (for what I can see). Git is incredibly slower
> than Hg with SVN!
>
> Do you have any suggestion to bypass this problem?
> It is possible to implement something in HgSubversion to use filesystem
> instead of RAM for temp SVN checkout?
It actually used to do this, in the mists of time.
Anyway, you should be able to make this work by modifying HgEditor to use a disk-backed dict instead of an
in-memory dict, or alternatively try a 64 bit build of Python (assuming your system can handle it). I'm
afraid I can't commit to even making an attempt at doing this for you anytime soon, as my plate is already
quite full.
> Thank you for your time!
> Buona giornata,
>
> ------------------------------------------------------
> Gianluca Romanin (aka J_Zar)
> ------------------------------------------------------
> Skype : romaninz
> GTalk : romaninz@...
> ------------------------------------------------------
--
--
You received this message because you are subscribed to the Google Groups "hgsubversion" group.
To post to this group, send email to hgsubversion@...
To unsubscribe from this group, send email to hgsubversion+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hgsubversion?hl=en.