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

Changing Dump Paths.

From: Michael Quigley <michael9_at_michael9.com>
Date: 2004-01-07 05:51:57 CET

I have a single repository that contains a couple of different projects I'd
like to split into separate repositories, like such:

http://svn:6666/repository/project-a/
http://svn:6666/repository/project-b/

I'd like two have two repositories named:

http://svn:6666/project-a/
http://svn:6666/project-b/

I can dump my repository and use svndumpfilter to separate the contents into
two separate dump files. That's simple. I end up with the following when I
load the separated dumps into their new repositories:

http://svn:6666/project-a/project-a/
http://svn:6666/project-b/project-b/

Does anyone have a simple recipe for removing the first path element from the
paths in a dump file, so that I can separate these two projects into two
repositories without the extra directory? I'm looking for something like the
'patch -p<n>' option for svndumpfilter. ;)

Any advice would be appreciated.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 7 05:52:39 2004

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.