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

CVS2SVN question

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2004-01-20 21:49:40 CET

Does anyone know what will happen with CVS2SVN if it tries to convert
binary data files that was put into CVS incorrectly (without the -kb
option)?

I used to get quite a bit further than this (this last summer) when I was
doing test conversions. I think I was waiting for issue #1440 to be
resolved before I tried again. This is the first time I've had since this
last summer to try this again.

I'm asking because I am starting to run tests to see if I can convert our
company's 10.5 Gig CVS repository and immediately ran into a:

RuntimeError: EOF

I know that 4 years ago when we started the CVS repository there were a
bunch of binary files we put in incorrectly and had to re-enter them
correctly, but the previous versions are already there in the repository.

Total Error is:
BattleStorm/data/images/Attic/BattleStormPoster.psd,v
Traceback (most recent call last):
  File "/home/dsummers/projects/subversion/tools/cvs2svn/cvs2svn.py", line
2318, in ?
    main()
  File "/home/dsummers/projects/subversion/tools/cvs2svn/cvs2svn.py", line
2314, in main
    convert(ctx, start_pass=start_pass)
  File "/home/dsummers/projects/subversion/tools/cvs2svn/cvs2svn.py", line
2164, in convert
    _passes[i](ctx)
  File "/home/dsummers/projects/subversion/tools/cvs2svn/cvs2svn.py", line
2010, 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 "/home/dsummers/projects/subversion/tools/cvs2svn/cvs2svn.py", line
354,
in visit_file
    p.parse(open(pathname, 'rb'), cd)
  File
"/home/dsummers/projects/subversion/tools/cvs2svn/rcsparse/common.py",
line 239, in parse
    self.parse_rcs_deltatext()
  File "/usr/lib/python2.2/site-packages/rcsparse/common.py", line 218, in
parse_rcs_deltatext
    text, sym2, log, sym1 = self.ts.mget(4)
  File "/usr/lib/python2.2/site-packages/rcsparse/default.py", line 169,
in mget result.append(self.get())
  File "/usr/lib/python2.2/site-packages/rcsparse/default.py", line 108,
in get
    raise RuntimeError, 'EOF'
RuntimeError: EOF

I am sure I used to get further than this, so maybe something really
strange is happening.

    Thanks!

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 20 22:01:49 2004

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

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