James D. Parra wrote:

Create a dump file from the CVS repository:

     project=XXX
     cvs2svn --dump-only --dumpfile=$project.svndump --use-cvs \
            --cvs-revnums --no-default-eol $CVSROOT/$project

Thank you. It helps a lot.

What is 'project=XXX'? Is that in a file?

This is a shell statement; it assigns the name of a project (XXX in my example) to the shell variable project. Wherever $project later is mentioned, that value is used.

I created the dir called svnrepos for subversion. The cvsroot dir contains
all of the CVS data & projects. Does the above command just do one project
at a time?  If so, is there a way to it all at once?

Yes, this does the conversion once at a time. If one uses just $CVSROOT instead of $CVSROOT/$project, the whole CVS repository is converted at once. One needs to leave off the --parent-dir option at the svnadmin load command then, too.

But in my opinion this is only sensible if the projects are very tightly related. Otherwise, the resulting SVN directory structure with trunk, tags, and branches is not practical.

        Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod                          Email: [EMAIL PROTECTED]
Roedermark, Germany

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to