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 10:06:48 UTC
More changes to cvs2svn.
The good news ( I hope ) is that I have modified cvs2svn.py again...
I converted it from a 4 pass algorithm to a 5 pass algorithm.
The fouth pass now generates a file with a series of commands
in it that almost look like shell commands. This file can
be edited or changed before running the 5th pass, if desired.
The file is called cvs2svn-data.commands.
Additionally, the log cvs revision option has been implemented
as --logcvsrevision. Default behavior is to use the old log
message style.
A new option (-q) has been added which stops cvs2svn after pass X.
Example: run pass 2 to pass 4 of cvs2svn:
cvs2svn -p 2 -q 4 ...
The bad news is that I have not tested it thouroughly enough :-)
Happy Hacking.
Laramie.
Re: More changes to cvs2svn.
Posted by Scott Lamb <sl...@slamb.org>.
I just gave it a spin.
First, it didn't parse; I stuck a "pass" in where you'd commented out a
pool destruction.
Then it got up to revision 381 and bombed:
creating: rev 381 Thu Oct 17 22:07:18 2002, over 2 seconds
Adding path /trunk/schedule
Traceback (most recent call last):
File "./cvs2svn3.py", line 1121, in ?
main()
File "./cvs2svn3.py", line 1118, in main
util.run_app(convert, ctx, start_pass=start_pass, stop_pass=stop_pass)
File "/usr/local/lib/python2.2/site-packages/svn/util.py", line 38,
in run_app
return apply(func, (pool,) + args, kw)
File "./cvs2svn3.py", line 1036, in convert
_passes[i](ctx)
File "./cvs2svn3.py", line 962, in pass4
c.write( ctx )
File "./cvs2svn3.py", line 541, in write
statcache.stat(f)
File "/usr/lib/python2.2/statcache.py", line 23, in stat
cache[path] = ret = _os.stat(path)
OSError: [Errno 2] No such file or directory:
'/tmp/intmedcvs/schedule/Attic/Car'
The schedule attic doesn't have anything like "Car" in it. But there is
a "Card Services List.xls,v" (not in the attic). Maybe it's choking on
the spaces in the filename? I think this was the first revision with any
such silliness.
Thanks,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org