You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Laramie Leavitt <la...@leavitt.us> on 2002/11/23 22:58:55 UTC

cvs2svn.py: tags + branches + other [PATCH]

Attached is a patch for cvs2svn.py.  It is based off the collab.net svn
repository revision 3870.

I have tested it, on a small cvs repository of 1300 revisions,
and it seems to work ok. This version will probably be easier
to modify for future requirements than the last one.

Changes from the version sent yesterday include numerous little fixes.

CHANGELOG:
* Uses a 5 pass algorithm:
  - Pass 1-3 same as before.
  - Pass 4: Order files into commit groups, and determine the necessary
    operations for each new required revision.  Pass 4 maintains
    a file of current files in SVN, since it does not connect
    to the repository.
  - Pass 5: Run the operations, getting the commands from the command
    file.
* Option to maintain CVS revision number in SVN log for commit.
  (--logcvsrevision)
* Option to stop after a specified pass. (-q)
* Option to purge pass4 SVN contents file. (--purge)

Laramie Leavitt



Re: cvs2svn.py: tags + branches + other [PATCH]

Posted by Vladimir Prus <gh...@cs.msu.su>.
Laramie Leavitt wrote:
> Attached is a patch for cvs2svn.py.  It is based off the collab.net svn
> repository revision 3870.
> 
> I have tested it, on a small cvs repository of 1300 revisions,
> and it seems to work ok. This version will probably be easier
> to modify for future requirements than the last one.

Laramie,

I had a couple of issues after applying your patch:
1. It uses python2.2 but my svn binding are built with 2.1
2. It uses the 'file' function which is not present in 2.1

After solving this minor things, I converted my CVS repository
without any problems. This is very cool! I'm about to advocate
switch to Subversion before my colleagues right now. Hope
your patch gets applied.

- Volodya


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org