Giulio-
Thanks for the help and the idea. I'm traveling right now (hence my
intermittent follow-up on this), but will try it ASAP. Seems like a good
idea; I will post results one way or another.
Thanks again!!
Also, I'll be going through the rest of the follow-up emails on this, too.
Thanks to all who responded for the help.
Regards,
Allen
-----Original Message-----
From: Giulio Troccoli [mailto:Giulio.Troccoli_at_uk.linedata.com]
Sent: Tuesday, September 07, 2010 8:20 AM
To: anw-dist_at_infoisland.net; users_at_subversion.apache.org
Subject: RE: Repository Directory Tree
>
Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03
-----Original Message-----
> From: Allen Williams [mailto:aladdin_at_csunv.com]
> Sent: 07 September 2010 12:24
> To: users_at_subversion.apache.org
> Subject: RE: Repository Directory Tree
>
> I *think* that proj1/2/3 are separate projects inside one
> repository, but none of those distinctions were very clear to
> me (I DID read the manual, cover to cover). I certainly
> understand the concept of the equivalence between a directory
> and project (I think), but, to me, anyway, it's not clear the
> distinction between a repository and further directory structure.
>
> But now my memory returns: I only created ONE repository, so
> all those are projects under that repository.
>
So /var/svn is a repository, created with svnadmin create /var/svn. The
project where imported as var/svn/proj1, var/svn/proj2 and var/svn/proj3. So
your projects do live in the var/svn directory in your repository (note
there is no / at the beginning so I'm referring to the repository but a
directory inside your repository).
I would do the following (presuming you're on unix or linux)
- check out the whole thing (it might be too big but maybe not)
svn checkout file:///var/svn ~/tmp
This will create a new directory called tmp in your home directory whit the
whole of your repository. Insinde ~/tmp you will have var/svn/proj1,
var/svn/proj2 and var/svn/proj3.
- move the projects to the root of your repository
cd ~/tmp
svn move var/svn/proj1 proj1
svn move var/svn/proj2 proj2
svn move var/svn/proj3 proj3
Since you have used svn command the history will be preserved.
- commit
svn commit -m"Reorganising the projects"
Done. Now to see a list of your projects 'svn list file:///var/svn' will be
enough.
Giulio
Received on 2010-09-09 15:14:02 CEST