On Fri, Apr 2, 2010 at 12:57 PM, Andy Levy <andy.l...@gmail.com> wrote: > On Fri, Apr 2, 2010 at 04:45, Venkata Badipatla > <venkata_badipa...@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