Re: CVS conversion options

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
anatoly techtonik wrote:
> I want two CVS modules 'mod1' and 'mod2' to be merged into one 'pj1'
> project, and make every tag they share include both module.
> [...]
> Is there any way to accomplish that I need?

Create a "fake" CVS repository with the layout that you want the SVN
repository to have.  Put both "mod1" and "mod2" under a single
subdirectory "pj1", and treat "pj1" as a single project.  You can use
symlinks if you want to avoid making actual copies of the CVS repository
directories.

    mkdir $TMP/fakecvs
    cd $TMP/fakecvs
    mkdir CVSROOT # cvs2svn needs this
    mkdir pj1
    ln -s $REALCVS/mod1 $REALCVS/mod2 pj1/
    for f in pj2 pj3 pj4
    do
        ln -s $REALCVS/$f .
    done

Then do a multiproject conversion with projects pj1, pj2, ...

Michael

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

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.