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

Re: Creating Dump For Specific Folders Of SVN Repository

From: Mathieu Malaterre <mathieu.malaterre_at_gmail.com>
Date: Fri, 2 Apr 2010 13:26:44 +0200

On Fri, Apr 2, 2010 at 12:57 PM, Andy Levy <andy.levy_at_gmail.com> wrote:
> On Fri, Apr 2, 2010 at 04:45, Venkata Badipatla
> <venkata_badipatla_at_persistent.co.in> wrote:
>> Hi All,
>>
>>
>>
>> I need to create a dump file for the specific folders of the SVN repository.
>> Can anyone please help me out?
>>
>>
>>
>> Directory hierarchy of the SVN repository is
>>
>>
>>
>> /Project1
>>
>> /trunk
>>
>> /tags
>>
>>  /branches
>>
>> /Project2
>>
>> /trunk
>>
>> /tags
>>
>>  /branches
>>
>> /Project3
>>
>> /trunk
>>
>> /tags
>>
>>  /branches
>>
>>
>>
>> I need to create a dump file for a folder “scm_branch_1” which is in the
>> location  “/project3/branches/scm_branch_1”
>>
>>
>>
>> Note: I am working on windows environment.
>
> Pipe the output of svnadmin dump through svndumpfilter and only
> include the path(s) you need.
> http://svnbook.red-bean.com/en/1.5/svn.ref.svndumpfilter.commands.c.include.html
>

If this does not work for you (because you copy files from -say-
Project1 to Project2), then used svnsync which I found more robust
than svndumpfilter (you can svnsync a subdir !). There are also
svndumpfilter2 / svndumpfilter3 and svndumpfilter4 on the net...

Good luck

-- 
Mathieu
Received on 2010-04-02 13:27:34 CEST

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.