On Fri, Jul 11, 2003 at 06:27:34PM +0200, Florian Schulze wrote:
> Hi!
>
> I tried the latest cvs2svn.py (rev 6449) and get the following error:
> No origin records for branch 'avendor'.
> What does it mean?
This sounds like it couldn't find the source of the branch, but I don't
understand CVS or cvs2svn.py well enough to know what that means.
> In another unrelated part of the repository, which I left out in the above
> case, I get:
> Traceback (most recent call last):
> File "../subversion/tools/cvs2svn/cvs2svn.py", line 2154, in ?
> main()
> File "../subversion/tools/cvs2svn/cvs2svn.py", line 2150, in main
> convert(ctx, start_pass=start_pass)
> File "../subversion/tools/cvs2svn/cvs2svn.py", line 2039, in convert
> _passes[i](ctx)
> File "../subversion/tools/cvs2svn/cvs2svn.py", line 1868, in pass1
> os.path.walk(ctx.cvsroot, visit_file, (cd, p, stats))
> File "/usr/lib/python2.2/posixpath.py", line 287, in walk
> walk(name, func, arg)
> File "/usr/lib/python2.2/posixpath.py", line 287, in walk
> walk(name, func, arg)
> File "/usr/lib/python2.2/posixpath.py", line 279, in walk
> func(arg, top, names)
> File "../subversion/tools/cvs2svn/cvs2svn.py", line 329, in visit_file
> p.parse(open(pathname), cd)
> File "../subversion/tools/cvs2svn/rcsparse/common.py", line 231, in parse
> self.parse_rcs_admin()
> File "../subversion/tools/cvs2svn/rcsparse/default.py", line 191, in
> parse_rcs_admin
> raise common.RCSExpected(semi, ';')
> rcsparse.common.RCSExpected: ('access', ';')
This looks like a corrupted RCS file. If I understand the exception
properly it means that rcsparse expected a semicolon, but found "access"
instead. Look in the file it was processing to see if you can figure
out what was going on. If you can't figure it out and you can post it,
Karl might be interested. (If it's huge it would be better if you
provided a URL from which it could be downloaded.)
Otherwise just upgrade cvs2svn.py since there were a few changes since
r6449.
In particular, the log message for r6455 says:
Sanity check inspired by issues #1407 and #1355: tolerate invalid ,v
files better, as they're (apparently) legion...
* tools/cvs2svn/cvs2svn.py
(visit_file): Catch exception from RCS parser, issue warning.
[...]
--
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 14 09:37:09 2003