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

Re: What is the easiest way to clone an existing SVN Repository and include only some of the projects?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 19 Dec 2011 22:55:31 -0500

On Mon, Dec 19, 2011 at 22:45, Craig Burlock <craig.burlock_at_gmail.com> wrote:
> Hello all,
>
> I need to create a new SVN Repository based on my existing SVN Repository
> for another software development team. Due to security reasons, the new SVN
> Repository must contain only a selection of my existing projects and must
> include code and change history.
>
> Can this be done?
>
> Is it easy?
>
> Any advice would be wonderful!

Dump the repository (svnadmin dump), then wash the dumpfile through
svndumpfilter to either selectively extract the paths you are allowed
to have, or remove the ones you aren't.

http://svnbook.red-bean.com/en/1.7/svn.ref.svndumpfilter.html
Received on 2011-12-20 04:56:47 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.