[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: Paul L Lussier <pll_at_lanminds.com>
Date: 2003-05-22 18:15:07 CEST

In a message dated: Wed, 21 May 2003 21:00:13 BST
Philip Martin said:

>svnadmin load --parent-dir foo
>foo must exist I believe, so use 'svn mkdir URL' if necessary.

I tried this, and it mostly worked. The problem I had was that
the directory structure of the repo I wished to move was this:


When I used svnadmin load --parent-dir foo I got:


But no 'file' for some reason.

I ended up doing:

        svnadmin create new-repo
        svn mkdir new-repo/subdir
        svnadmin dump oldrepo > oldrepo.svn
        svn load new-repo < oldrepo.svn
        svn co new-repo
        cd new-repo
        svn mv file subdir
        svn mv dir1 subdir

It worked, and I retained all of my history. It was just a little
more tedious than I would have expected. It appears that the
--parent-dir option mostly works, as long as the parent dir only
contains other subdirs and not files.

Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.
	 If you're not having fun, you're not doing it right!
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 22 18:16:03 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.