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

Re: svnsquash has grown new capabilities

From: Blair Zajac <blair_at_orcaware.com>
Date: Wed, 07 Oct 2009 18:05:28 -0700

Martin Furter wrote:
> On Wed, 7 Oct 2009, Blair Zajac wrote:
>
>> The one I've needed is when you're pulling a project out of a larger repository
>> into a new smaller one, so you want to the project up one or more directory levels.
>>
>> For example, project foobar has a directory foobar in the repository
>>
>> foobar/
>> trunk/
>> tags/
>> branches/
>>
>> and you want a new foobar repos with just trunk, tags and branches at the top
>> level. So svndumpfilter works for pulling foobar, but not for moving it up.
>
> The 'merge' command of svndumptool can do that, and it's perfectly fine to
> merge only one dumpfile.
>
> svndumptool.py merge -i in.dmp -x foobar -r foobar/trunk trunk ... -o out.dmp

I did install svndumptool before editing my dump file by hand to see if it had
this functionality but didn't see an appropriate subcommand.

Maybe there could be an additional subcommand for doing this? Or perhaps
'svndumptool help' would show it.

Regards,
Blair

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2404757
Received on 2009-10-08 03:06:46 CEST

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

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