[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Error with this cvs2svn.py tool

From: <abrown_at_diginexus.com>
Date: 2003-06-12 19:51:51 CEST

Back again.

I am having a problem with cvs2svn.py. I have the newest code from SVN as
of today.
1) This is on a Linux box
2) This is using Subversion 0.23
Any ideas?

First when I run the test py I get:
[root@svn cvs2svn]# ./run-tests.py
PASS: run-tests.py 1: cvs2svn with no arguments shows usage
PASS: run-tests.py 2: detection of the executable flag
PASS: run-tests.py 3: conversion of filename with a space
PASS: run-tests.py 4: two commits in quick succession
PASS: run-tests.py 5: prune, but not too eagerly
PASS: run-tests.py 6: file deleted twice, in the root of the repository
PASS: run-tests.py 7: simple trunk commits
PASS: run-tests.py 8: two interleaved trunk commits, with different log
XFAIL: run-tests.py 9: simple tags
XFAIL: run-tests.py 10: simple branch commits
XFAIL: run-tests.py 11: a commit affecting both trunk and a branch
XFAIL: run-tests.py 12: a branch created at different times in different

When I try a conversion I get:
Traceback (most recent call last):
  File "./cvs2svn.py", line 1351, in ?
  File "./cvs2svn.py", line 1348, in main
    convert(ctx, start_pass=start_pass)
  File "./cvs2svn.py", line 1262, in convert
  File "./cvs2svn.py", line 1088, 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 287, in walk
    walk(name, func, arg)
  File "/usr/lib/python2.2/posixpath.py", line 279, in walk
    func(arg, top, names)
  File "./cvs2svn.py", line 299, in visit_file
    p.parse(open(pathname), cd)
  File "/home/svn/sub_source/subversion/tools/cvs2svn/rcsparse/common.py",
line 231, in parse
  File "/home/svn/sub_source/subversion/tools/cvs2svn/rcsparse/default.py",
line 191, in parse_rcs_admin
    raise common.RCSExpected(semi, ';')
rcsparse.common.RCSExpected: ('access', ';')
Received on Thu Jun 12 19:50:23 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.