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

restructuring repositories with svndumpfilter

From: Adam Mercer <ramercer_at_gmail.com>
Date: 2007-09-08 06:40:09 CEST

Hi

I'm trying to restructure some of my repositories, esentially I want
to split up a single repository into multiple ones. The current layout
of my repo is

repo/
  dir1
  dir2
  dir3

and I want separate repositories with each directory, i.e.

dir1/
dir2/
dir3/

the only problem is that the history of each directory is not
independent, therefore I can't use svndumpfilter.

I have found svndumpfilter2 (from
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/svn-tools/svndumpfilter2?view=markup)
which seems to be able to handle the case of separating directories
that share history. If I run

$ svnadmin dump repo | svndumpfilter /path/to/svn/repo dir1 > dir1.svndump

that splits repo/dir1 into a separate repository, the only problem is
that the structure of the new repository is

repo/
 dir1

not just

dir1/

as I want. I know I can move the contents of dir1 into the root
directory of the repository but does anyone know a way to get dir1 as
a separate repository?

Cheers

Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 8 06:37:02 2007

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.