James D. Parra wrote:
Trying to convert a cvs repository to subversion, but I get an error when I run;
# cvs2svn -s --no-default-eol --tmpdir=/tmp/ svnrepos cvsroot
You must not call cvs2svn with the svnrepos. cvs2svn creates a Subversion dump file that must be loaded afterwards. From my SVN cheat sheet: Migration of a Project from CVS to SVN: ======================================= 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 The option --symbol-transform allows to transform tag names, e.g., to map hyphens or underscores to dots. With svndumpfilter one can change the created dump file: Remove parts of the repository, or specify which parts shall be imported. Load the dump file into the SVN depot; to do on the SVN-Server: svn mkdir svn+ssh://svn/$project svnadmin load --parent-dir=$project /data/SVN/depot <$project.svndump There is also a script verify-svn to check the migration. This must be tested, I haven't tried it yet. =============== I hope that the mail gateway won't insert new lines above. Of course, your SVN base URL (above: svn+ssh://svn/) and your SVN repository directory (above: /data/SVN/depot/) will be different than mine. Hope this helps, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org