LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   cvs2svn - repository organisation (https://www.linuxquestions.org/questions/linux-server-73/cvs2svn-repository-organisation-834955/)

ShadyCraig 09-28-2010 09:45 AM

cvs2svn - repository organisation
 
Hi All,

I have a cvs repository and would like to migrate to svn.
I'm aware of cvs2svn so I gave it a try, but it didn't turn out as expected.

I was expecting something like:
Code:

proj1/branches/stable
proj1/branches/testing
proj1/tags/v1
proj1/tags/v2
proj1/trunk
proj2/branches/stable
proj2/branches/testing
proj2/tags/v1
proj2/tags/v2
proj2/trunk

But what I got is:
Code:

branches/stable/proj1
branches/stable/proj2
branches/testing/proj1
branches/testing/proj2
tags/v1/proj1
tags/v1/proj2
tags/v2/proj1
tags/v2/proj2
trunk/proj1
trunk/proj2

So as far as I'm concerned it's upside down :(

Has anyone had this issue or know how to resolve it??

Thanks,
Craig

prayag_pjs 09-29-2010 03:34 AM

Hi,

Quote:

Its not a problem.
SVN maintains these structure.Its not mandatory but its followed!
Quote:

Trunk would be the main body of development, originating from the the start of the project until the present.
Quote:

Branch will be a copy of code derived from a certain point in the trunk that is used for applying major changes to the code while preserving the integrity of the code in the trunk. If the major changes work according to plan, they are usually merged back into the trunk.
Quote:

Tag will be a point in time on the trunk or a branch that you wish to preserve. The two main reasons for preservation would be that either this is a major release of the software, whether alpha, beta, RC or RTM, or this is the most stable point of the software before major revisions on the trunk were applied.

ShadyCraig 09-29-2010 08:33 AM

Thanks for the response!

I appreciate that there's nothing wrong with the default layout and that it can be changed, thanks for the descriptions of the terminology.

Personally I find the layout counter intuitive and difficult to find my way around. For example I can't easily checkout all the code for one particular project.

After reading http://cvs2svn.tigris.org/faq.html#inverted I've found that the cvs2svn can re-arrange things for me. I'm testing this now (long conversion process), but it should give me the layout that I'm looking for.
Saves writing a long script to move things around!


All times are GMT -5. The time now is 06:16 PM.