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

Re: cvs2svn.py stops on empty (binary) files ?

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-07-14 06:05:46 CEST

Unfortunately, that did not seem to help. There were two new lines at
the end. I used a hex-editor and removed one, then both of them. I got
the following traceback:
jgb\jgb\docs\documentation\elements\windows\Attic\index.html,v
jgb\jgb\docs\documentation\examples\Attic\index.html,v
jgb\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_d
eltatext
    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

Which I believe is the same as last time. Anything else I should try ?
I tried deleting all the Attic folders, and I got the same EOF error on
another file:
jgb\jgb\clover_history\clover-20030609234410.xml,v
jgb\jgb\clover_history\clover-20030611172824.xml,v
jgb\jgb\lib\clover-1.2.jar,v
Traceback (most recent call last):
  File "cvs2svn.py", line 2190, in ?
    main()
...
  File "D:\svn-trunk\tools\cvs2svn\rcsparse\default.py", line 108, in get
    raise RuntimeError, 'EOF'
RuntimeError: EOF

You may note that these are all binary files... They must have the -kb
option set as I check them out regularly in the process of making the
project. The clover-1.2.jar,v file is available at:
http://jgb.sourceforge.net/svn/clover-1.2.jar,v

Thanks for your help !
François

On Sun, 13 Jul 2003 22:20:22 -0400, "mark benedetto king"
<mbk@lowlatency.com> said:
> On Sun, Jul 13, 2003 at 09:49:30PM -0400, Francois Beausoleil wrote:
> > 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
> >
>
> I haven't tested this, but I suspect that if you delete the extra
> newline from the end of the ,v everything will work. Let me know.
>
> --ben
>
>
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 06:06:39 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.