RE: Multi-project repository setup and svn load problem
From: Dale Hirt <dale_at_sbcltd.com>
Date: 2005-09-19 19:48:54 CEST
Did you do:
-----Original Message-----
Hi Dale,
Thanks for the reply but that's exactly what I had tried earlier too, I got the same error as:
svnadmin: Error opening db lockfile
svnadmin: Can't open file '/usr/local/SourceBases/subversion/ISDevelopment/DEV/Audiocontrols/locks/db.lock': No such file or directory
Here is the cmd I used:
[subvert@testls52 subversion]$ svnadmin load /usr/local/SourceBases/subversion/ISDevelopment/DEV/Audiocontrols --parent-dir DEV/Audiocontrols < /usr/local/SourceBases/subversion/dumps/full.dump
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?
Thanks
_____
From: Dale Hirt [mailto:dale@sbcltd.com]
Praful,
Look at http://svn.haxx.se/users/archive-2005-09/0771.shtml. svnadmin load --parent-dir <arg> is your friend.
Dale
-----Original Message-----
Hi,
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)
/DEV
/Project A
/branches
/trunk
/tags
/Projects B
/QA
/PROD
/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.
Thanks,
Praful Gupta
Software Engineer
Intercall: A Subsidiary of West Corporation
p: 706-643-8339 c: 706-518-8119 f: 706-634-3751
email: pgupta@intercall.com url: www.intercall.com
|
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.