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

changing DIR structure of SVN dump

From: Shaaa <shaolinfinest_at_gmail.com>
Date: Tue, 10 Jan 2012 14:39:24 +0000

Hello everyone

So I am trying to move my repos to a new server. Problem is the old
guy did a really strange setup. Basically, in order to access the
repos I would have to use the following uri
file:///var/svn/repos/mysite/trunk/project1/trunk On the new server I
want to change it to file:///var/svn/repos/project1/trunk but I dont
want to show the changes in the revs. I have tried the following:

svnadmin dump /var/svn/repos > mydump
svnadminfilter include trunk < mydump > newdump
svnadmin mkdir file:///var/svn/repos/myproject1
svnadmin load /var/svn/repos --parent-dir myproject1 < newdump

but it gives me the following URI:
file:///var/svn/repos/myproject1/trunk/myproject1
Received on 2012-01-10 16:17:47 CET

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.