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

Re: Moving a repo into another?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-21 21:53:59 CEST

pll@lanminds.com writes:

> svnadmin create /usr/local/svn/projectALPHA
> svn mkdir /usr/local/svn/projectA
> svn mkdir /usr/local/svn/projectB
> svn mkdir /usr/local/svn/projectC
> svnadmin dump /usr/local/svn/projectA | \
> svnadmin load /usr/local/svn/projectALPHA/projectA

'svnadmin dump' dumps a set of revisions, and 'svnadmin load' loads
a set of revisions. And a revision is an *entire* tree.

You need to use 'svndumpfilter' to accomplish what you want.

  svnadmin dump oldrepo | svndumpfilter | svnadmin load newrepo

The svndumpfilter program filters specific paths in the
dumpstream... so you probably want something like

  svnadmin dump oldrepos | svndumpfilter include /usr/local/svn/projectA

... it's not clear to me, though, how you would load *into* a specific
directory in the new repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 21 21:56:13 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.