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

Re: Changing Dump Paths.

From: Jan Hendrik <jan.hendrik_at_bigfoot.com>
Date: 2004-01-08 09:31:15 CET

Concerning Re: Changing Dump Paths.
Michael Quigley wrote on 7 Jan 2004, 11:26, at least in part:

> That's not the problem. Again, I have a repository:
> http://svn:6666/repository/
> It contains two directories, 'project-a' and 'project-b':
> http://svn:6666/repository/project-a/
> http://svn:6666/repository/project-b/
> I dump the repository:
> $ svnadmin dump http://svn:6666/repository > dumpfile
> I separate the projects:
> $ cat dumpfile | svndumpfilter include project-a > project-a-dumpfile
> $ cat dumpfile | svndumpfilter include project-b > project-b-dumpfile
> I create two new repositories:
> $ svnadmin create /raid/subversion/project-a
> $ svnadmin create /raid/subversion/project-b
> I load my dumps:
> $ svnadmin load /raid/subversion/project-a < project-a-dumpfile
> $ svnadmin load /raid/subversion/project-b < project-b-dumpfile
> I end up with:
> $ svn co file:///raid/subversion/project-a
> $ find project-a
> project-a/
> project-a/project-a/
> project-a/project-a/1
> project-a/project-a/2
> ...

That's logical: you just dumpfiltered one part of your repository, but
that does not change anything else. Before "repository" was the
root of your repos, project-a and project-b just the first branches of
your folder tree. Now "subversion/project-a" and "subversion/project-
b" resp. are roots of your new now two repositories. And the old
folder trees (or what you left of them in each case) start there.
Once I dumpfiltered all *.JPG files from a repository; this just
removed the files, but did not change anything to the folder

However, I would think that you can simply move the contents of
project-a/project-a up one level and are done (delete the then
empty second project-a folder).

Best regards

Jan Hendrik

Freedom quote:

     Capitalism is not an 'ism.'
     It is closer to being the opposite of an 'ism,'
     because it is simply the freedom of ordinary people
     to make whatever economic transactions they can mutually agree to.
                -- Thomas Sowell

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 8 09:31:36 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.