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

RE: cvs2svn change_path crash

From: Faller, Gyula <GFaller_at_Graphisoft.hu>
Date: 2003-10-30 23:04:35 CET

        Hi All!

 I have finally made it. It works!

- I have installed the new Python 2.3.2 from python.org,
- and put the co.exe next to the cvs2svn.py,

 and it worked!

 Thanks to all:

        Gyula

 P.s.1: I suggest to suggest every Windows user to use Python 2.3.2 for cvs2svn.py conversion
 and warn them about co.exe
 I plan to send a patch auto-detecting co.

 P.s.2: The cvs2svn.py time summary was:

        pass 1: 14 seconds
        pass 2: 0 seconds
        pass 3: 0 seconds
        pass 4: 364 seconds
        pass 5: 1883 seconds
         total: 2263 seconds

> -----Original Message-----
> From: Max Bowsher [mailto:maxb@ukf.net]
> Sent: kedd 2003. szeptember 30. 15:06
> To: Michael Wood; Faller, Gyula
> Cc: dev@subversion.tigris.org
> Subject: Re: cvs2svn change_path crash
>
>
> Michael Wood wrote:
> > On Mon, Sep 29, 2003 at 10:13:44PM +0200, Faller, Gyula wrote:
> > [snip]
> >> Traceback (most recent call last):
> >> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line 2267, in ?
> >> main()
> >> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line
> 2263, in main
> >> convert(ctx, start_pass=start_pass)
> >> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line
> 2135, in convert
> >> _passes[i](ctx)
> >> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line
> 2070, in pass4
> >> c.commit(dumper, ctx, sym_tracker)
> >> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line
> 1845, in commit
> >> branches)
> >> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line 1041, in
> >> add_or_change_path self.add_dir)
> >> File "C:\PROGRA~1\SUBVER~1\cvs2svn\cvs2svn.py", line 637, in
> change_path
> >> self.nodes_db[parent_key] = marshal.dumps(parent)
> >> bsddb.error: (0, 'Error')
> >>
> > [snip]
> >> Is it possible that the used bsddb has a size limit?
> >
> > I think it might be possible that the Windows version of
> Berkeley DB has
> > some sort of limit.
> >
> >> My python version is:
> >>
> >> c:\Program Files\Subversion\cvs2svn>python
> >> ActivePython 2.2.1 Build 222 (ActiveState Corp.) based on
> >> Python 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit
> (Intel)] on win32
> >
> > Maybe this version of Python uses an old version of
> Berkeley DB? Maybe
> > you could get pybsddb from http://pybsddb.sourceforge.net/?
> You might
> > need to make changes to cvs2svn.py in order for it to use
> the updated
> > bsddb module, though.
>
> I'm pretty sure that Python 2.3 includes that new bsddb
> module, so just
> upgrade to 2.3.
>
> >> After it I checked out my new repository:
> >>
> >> svn co file:///c:/SVNRepo newtest
> >>
> >> The result was not satisfying: the directory hierarchy
> was perfect,
> >> _but all the files were 0 byte long_!
> >
> > Do you have "co" installed? It comes with RCS. A while
> ago I noticed
> > that if you don't have a "co" command the conversion seems
> to work, but
> > the files are all zero length. I thought cvs2svn.py was patched to
> > watch out for this, though.
> >
> > Of course there's always the option of installing
> Linux/FreeBSD etc. and
> > using that for the conversion :)
>
> Even if you get past these issues, cvs2svn does not *yet*
> work properly on
> Windows, except with Cygwin.
>
> See the issue tracker for more info.
>
> Max.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 30 23:03:52 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.