Re: cvs2svn: changed tag path after migration from CVS to SVN

Christoph Knopf <[email protected]> Tue, 30 Oct 2012 11:55:21 +0100
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <CAP6BFU_f4tJcv1pmM90eTuuZAq9JEMHi-DM0HpGcN9NSZbhvAw@mail.gmail.com>
Hello Michael,

thanks for the quick response. Ok, I try to explain the problem with text.

A customer stores a project in CVS, tagging in a directory named
"versions". In this directory, you will see parts of the project like
this:

versions/
    Calculator/
        Calculator version 1.0/
        Calculator version 1.1/
        Calculator version 2.0/
    Coffee credit list/
        Coffee credit list version 1.0/
        Coffee credit list version 2.0/
    ...

Important to know, you have version 1.0 and 2.0 several times. No
after making a dump and loading the project in a SVN repo, the tag
tree is looking like this:

tag/
    1.0/
        Calculator/
        Coffee credit list/
        ....
    1.1/
        Calculator/
        ....
    2.0/
        Calculator/
        Coffee credit list/
        ....
    v_0_1_0/
    v_00_01_00/
   ...

cvs2svn took found the the numbers 1.0, 1.5 and so on in the titles
and placed them directly under the tag directory. Beneath that, it
created the dir for Calculator, Coffee credit list ... etc.
The customer used many different version titles, so this is mess,
because now they don't know which part is the actual one.

Don't get me wrong, I'm fine with this new structure, having a
overview over the tag releases in SVN. SVN is not CVS and I think they
made a mistake in their naming convention.
Question is: Is there a way cvs2svn creates a dump with the
directory/naming structure of the CVS tag tree only?

Thanks in advance, greetings
christoph


2012/10/30 Michael Haggerty <[email protected]>:
> On 10/29/2012 07:40 PM, Christoph Knopf wrote:
>> I migrated some repositories with the help of your really great tool.
>> Worked perfect except for one customer. Please see CVS_tag_tree.jpg
>> As you can see, every tag includes its own "versions".
>>
>> Now, here's the command I used for creating the dumb:
>> cvs2svn --encoding=latin1 --symbol-default=heuristic --dumpfile
>> dumpName.dmp /var/cvs/ ... /cvsRepoName
>>
>> After the migration to SVN, I have a changed tag tree -> see SVN_tag_tree.jpg
>> Now there is a list of "versions" which contains several tags.
>> Is it possible to create the dump with the "original" tag tree, like CVS.jpg?
>> Is this doable with the --symbol-hints option?
>
> I don't really know what the pictures are trying to represent, but I
> have the feeling that what you are looking for is a multiproject
> conversion [1].  If that is not the case, please try explaining your
> problem using text (e.g., showing the output of CVS / Subversion
> commands compared to what you expect) rather than screenshots of tools
> that not everybody is familiar with.
>
> Michael
>
> [1] http://cvs2svn.tigris.org/faq.html#onetoone
>
> --
> Michael Haggerty
> [email protected]
> http://softwareswirl.blogspot.com/

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3024524

To unsubscribe from this discussion, e-mail: [[email protected]].