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

Re: cvs2svn failure

From: Brian. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2004-02-26 16:42:24 CET

On Thu, 2004-02-26 at 09:25, Stefan Haller wrote:
> Following up to myself:
>
> I have no idea how to go about narrowing down the problem to a smaller
> set of files. Can anybody suggest things to try?

First, please take this thread over to the cvs2svn dev mailing list
(dev@cvs2svn.tigris.org) which is where we're trying to work on this
stuff right now.

Second, can you post a link to where we can download one of the 18
modules that is failing? If I can reproduce your bug, then I can work
on fixing it.

-Fitz

> The CVS repository consists of 89 top-level modules; I tried converting
> these separately one by one. 18 of these fail to convert, with error
> messages similar to this:
>
> Traceback (most recent call last):
> File "./cvs2svn.py", line 2739, in ?
> main()
> File "./cvs2svn.py", line 2735, in main
> convert(ctx, start_pass=start_pass)
> File "./cvs2svn.py", line 2572, in convert
> _passes[i](ctx)
> File "./cvs2svn.py", line 2495, in pass4
> c.commit(dumper, ctx, sym_tracker)
> File "./cvs2svn.py", line 2190, in commit
> sym_tracker.enroot_branches(svn_path, svn_rev, branches)
> File "./cvs2svn.py", line 1639, in enroot_branches
> self.enroot_names(svn_path, svn_rev, branches,
> self.br_opening_revs_key)
> File "./cvs2svn.py", line 1622, in enroot_names
> this_entry_val = self.db[this_entry_key]
> File "./cvs2svn.py", line 157, in __getitem__
> return marshal.loads(self.db[key])
> KeyError: 8ba
>
> Now I tried to convert the whole repository again, but deleted those 18
> directories first. It still fails to convert, with the same stack trace
> as above.
>
> Any suggestions how to proceed?
>
>
> Stefan Haller <haller@ableton.com> wrote:
>
> > I'm trying to convert our cvs repository to svn. The cvs reporitory is
> > about 780K.
> >
> > I'm using the current cvs2svn from the dev trunk (revision 8811). The
> > svn version is the dev trunk version from a couple of days ago. I'm
> > running on Mac OS X 10.3.2, with BerkleyDB version 4.2.52.
> >
> >
> > Conversion fails in pass 4 while trying to load revision 1053:
> >
> > Traceback (most recent call last):
> > File "./cvs2svn.py", line 2739, in ?
> > main()
> > File "./cvs2svn.py", line 2735, in main
> > convert(ctx, start_pass=start_pass)
> > File "./cvs2svn.py", line 2572, in convert
> > _passes[i](ctx)
> > File "./cvs2svn.py", line 2495, in pass4
> > c.commit(dumper, ctx, sym_tracker)
> > File "./cvs2svn.py", line 2227, in commit
> > sym_tracker.close_branches(svn_path, svn_rev, closed_branches)
> > File "./cvs2svn.py", line 1682, in close_branches
> > self.close_names(svn_path, svn_rev, branches,
> > self.br_closing_revs_key)
> > File "./cvs2svn.py", line 1656, in close_names
> > self.bump_rev_count(parent_key, svn_rev, closing_key)
> > File "./cvs2svn.py", line 1593, in bump_rev_count
> > self.db[item_key] = entry_val
> > File "./cvs2svn.py", line 160, in __setitem__
> > self.db[key] = marshal.dumps(value)
> > bsddb.error: (0, 'Error')
> >
> >
> > What can I do to narrow down the problem?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 26 16:41:57 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.