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

Re: Google Summer of Code 2008 mentors needed.

From: Martin Furter <mf_at_rola.ch>
Date: Tue, 11 Mar 2008 20:47:08 +0100 (CET)

On Tue, 11 Mar 2008, John Peacock wrote:

> Lieven Govaerts wrote:
>> I'm planning on writing a framework to run filters while copying
>> repositories. Something like svnsync with filters, are svndumpfilter
>> without dump files. Anyway, a (few) filter(s) like 'remove all descendant
>> files' of SECRET.txt_at_2589 might be a nice task.
>
> Would that cover "reparenting" as well (i.e. during a copy from one repo to
> another perform wholesale rewriting of the directory tree). I've been trying
> to write one for $WORK using dumpfiles as my source and it is extremely
> tricky with exclusively edge cases AFAICT.
>
> If this is one of the features you would consider, please contact me offline
> and I'll help work on a spec...

The merge command of svndumptool can do the "reparenting" of subtrees. I
guess deleting subtrees wouldn't be hard to add to it. But when copy-from
references a deleted node there are two cases: Either the copied node has
to be deleted too or the copy has to be transformed into a normal add
which then needs the text of the copy-from node (which is not available
anymore when processing a stream).

Hmm, I guess that's why I never implemented delete...

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-11 20:47:23 CET

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