RE: Multi-project repository setup and svn load problem
From: Dale Hirt <dale_at_sbcltd.com>
Date: 2005-09-19 20:18:49 CEST
Where you are going wrong is in assuing that DEV/Audiocontrols is a folder hierarchy on disk. It is NOT.
Where DEV/Audiocontrols is the folder hierarchy I need to maintain. But I am confused as to what should I use as the virtual root name (--parent-dir DEV/Audiocontrols)
I even tried using only Audiocontrols but it didn't work.
I was thinking that the only option is to create repository within a repository to achieve what I needed.
Any other suggestions on how to do this?
From: Dale Hirt [mailto:email@example.com]
Look at http://svn.haxx.se/users/archive-2005-09/0771.shtml. svnadmin load --parent-dir <arg> is your friend.
I am trying to set up a multiple projects single repository layout for some of our projects. Here is a sample layout of what I need:
/Development (repository root)
/Development is the root for the single repository which has the project folders /DEV, /QA, /DEV/Project A. I have this repository layout already setup. I tried to follow the steps outlined in the svn book pages: 100-101.
I have dump files from different repositories and I need to load them up as Project A or Project B. But whenever I try to use svnadmin load it gives an error stating:
svnadmin: Can't open file '/DEV/Project A/format': No such file or directory
I tried copying the format file into the Project A folder but then it gave me another error:
svnadmin: Error opening db lockfile
svnadmin: Can't open file '/Development/DEV/Project A/locks/db.lock': No such file or directory
It seems that in order to do something as outlined in the book, you need to have the target setup as a repository rather than a project folder. Is this true or am I missing some steps?
I tried using svn import by setting up a temp repository for Project A and then trying to import it into the layout but it failed again giving the same error.
Plz advise on how to load dump files from different repositories in to a multi-project repository where there are projects folders rather than being a repository within a repository setup.
The server is setup on a Unix box and running svnserve.
Intercall: A Subsidiary of West Corporation
p: 706-643-8339 c: 706-518-8119 f: 706-634-3751
email: firstname.lastname@example.org url: www.intercall.com
This is an archived mail posted to the Subversion Users mailing list.