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

cvs2svn.py stops on empty (binary) files ?

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-07-14 03:49:30 CEST

Hi !

Just started trying to convert a SourceForge.net project of mine to SVN.
It looks like something broke. From the traceback below, I would have
guesses the finalwindow.gif file was empty, but that is not true. I have
put a copy of the file on the web at:
http://jgb.sourceforge.net/svn/finalwindow.gif,v

D:\svn-trunk\tools\cvs2svn>python cvs2svn.py -n -v -s jgb --trunk-only
jgb-cvsroot
----- pass 1 -----
...
jgb-cvsroot\jgb\docs\documentation\elements\windows\Attic\index.html,v
jgb-cvsroot\jgb\docs\documentation\examples\Attic\index.html,v
jgb-cvsroot\jgb\docs\documentation\examples\eventwindow\Attic\finalwindow.gif,v
Traceback (most recent call last):
  File "cvs2svn.py", line 2190, in ?
    main()
  File "cvs2svn.py", line 2186, in main
    convert(ctx, start_pass=start_pass)
  File "cvs2svn.py", line 2075, in convert
    _passes[i](ctx)
  File "cvs2svn.py", line 1904, in pass1
    os.path.walk(ctx.cvsroot, visit_file, (cd, p, stats))
  File "D:\Utils\Python22\Lib\ntpath.py", line 325, in walk
    walk(name, func, arg)
  File "D:\Utils\Python22\Lib\ntpath.py", line 325, in walk
    walk(name, func, arg)
  File "D:\Utils\Python22\Lib\ntpath.py", line 325, in walk
    walk(name, func, arg)
  File "D:\Utils\Python22\Lib\ntpath.py", line 325, in walk
    walk(name, func, arg)
  File "D:\Utils\Python22\Lib\ntpath.py", line 325, in walk
    walk(name, func, arg)
  File "D:\Utils\Python22\Lib\ntpath.py", line 325, in walk
    walk(name, func, arg)
  File "D:\Utils\Python22\Lib\ntpath.py", line 319, in walk
    func(arg, top, names)
  File "cvs2svn.py", line 355, in visit_file
    p.parse(open(pathname), cd)
  File "D:\svn-trunk\tools\cvs2svn\rcsparse\common.py", line 239, in
  parse
    self.parse_rcs_deltatext()
  File "D:\svn-trunk\tools\cvs2svn\rcsparse\common.py", line 218, in
  parse_rcs_deltatext
    text, sym2, log, sym1 = self.ts.mget(4)
  File "D:\svn-trunk\tools\cvs2svn\rcsparse\default.py", line 169, in
  mget
    result.append(self.get())
  File "D:\svn-trunk\tools\cvs2svn\rcsparse\default.py", line 108, in get
    raise RuntimeError, 'EOF'
RuntimeError: EOF

If necessary, I can provide access to the CVS repository.

Thanks,
François

--
  Francois Beausoleil
  Developer of Java Gui Builder
  http://jgb.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 14 03:50:21 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.