[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svndumpfilter3 (Was: Re: svndumpfilter: Invalid copy source path)

From: Martin Blais <blais_at_furius.ca>
Date: 2006-04-30 23:25:51 CEST

In case that's useful for other people:

I tried running Simon's svndumpfilter2, and it works on small tests,
but somehow I think I have a repository that is too large (130MB, 2800
revs). My computer runs out of memory. So I had a long look at it
and then rewrote it differently: svndumpfilter2 tracks past revisions
itself with an in-memory data structure, whereas my new script does
not to that but uses ``svnadmin dump`` to obtain the revs to insert.
Extracting missing files is slower than ``svnlook cat``, but there
aren't many of them, and on the whole, the whole process runs faster.
I just converted my repository with it, wrote some tests, it seems to
work okay.

I put the script here:
http://furius.ca/pubcode/pub/conf/common/bin/svndumpfilter3.html

Along with other useful subversion tools:
http://furius.ca/pubcode/#subversion-tools

cheers,

On 4/28/06, Danny MacMillan <flowers@users.sourceforge.net> wrote:
> Martin Blais wrote:
> >
> > Hello Subversioners
> >
> > About the "svndumpfilter: Invalid copy source path " copy/move problem
> > mentioned in:
> >
> > http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=36941
> >
> > and
> >
> > http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=47462
> >
> > I'm having this problem too. I'm not so concerned about keeping the
> > history of the move, but I do want to split the repository and obtain
> > one that is working nevertheless.
> >
> > ...
>
> Simon Tatham has written a replacement for svndumpfilter with improved
> functionality for this use case. It might already do what you need.
>
> His page describing (among other things) his motivation for making the
> change:
>
> http://www.chiark.greenend.org.uk/~sgtatham/svn.html
>
> The ViewVC page for the enhanced svndumpfilter:
>
> http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/svn-tools/svndumpfilter2?rev=4977&view=markup
>
> --
> Danny MacMillan
>

--
Martin Blais
Furius Python Training -- http://furius.ca/training/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 30 23:27:19 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.