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

Re: copy multiple folders from one repository to another repository at server using subversion

From: Pavel Lyalyakin <pavel.lyalyakin_at_visualsvn.com>
Date: Mon, 2 Feb 2015 13:51:11 +0300

Hello,

On Mon, Feb 2, 2015 at 4:41 AM, Ryan Schmidt <ryandesign_at_macports.org> wrote:
>
> You can use "svnadmin dump" to dump parts of the allProj repository, then use "svnadmin load" to load them into the reqProj repository.

Roughly speaking, `svnadmin dump` itself can't take a dump of a single
project in a repository. With `svnadmin dump` you can specify revision
range to dump, but not paths to dump[1].

Using `svnadmin dump` you can generate a dump of the whole repository
and then use `svndumpfilter` tool[2] to filter out everything except
projectB, projectD and projectE, then load the filtered dump to a new
clean repository using `svnadmin load`. The process is described in
SVNBook | Filtering Repository History[3]. Moveover, official
Subversion FAQ has an entry about this task[4]. I can also advise
reading this post at StackOverflow[5].

[1]: http://svnbook.red-bean.com/en/1.8/svn.ref.svnadmin.c.dump.html
[2]: http://svnbook.red-bean.com/en/1.8/svn.ref.svndumpfilter.html
[3]: http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering
[4]: http://subversion.apache.org/faq.html#removal
[5]: http://stackoverflow.com/a/11598608/761095

--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Received on 2015-02-02 11:53:05 CET

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.