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

Re: cvs2svn.py (r6418) traceback

From: <kfogel_at_collab.net>
Date: 2003-07-10 04:35:41 CEST

Daniel Patterson <danpat@adaptiveinternational.com> writes:
> Nice work on the cvs2svn branch/tag stuff, it's a really hard problem
> that you've nutted out a solution to, I (and I'm sure many others)
> really appreciate the effor that it's taken.

And is still taking... :-) (but thanks!)

> However, when trying to convert a cvs repository, I get the traceback
> listed at the bottom of this message.
>
> The CVS repository is around 8.5M with approx 1800 revisions, the
> traceback happens after all the "normal" commits (at what looks like
> the empty branch and tag phase?).

Huh. I'm mystified as to how we got an empty string for a directory
entry. That's very odd...

> Unfortunately, the code in the CVS repository is not really my IP
> to hand around, how else can I help debug?

Dang :-). Is there any way you can persuade the owners to let me see
the data privately? I promise not to show it to anyone else, I'll
even sign an NDA if they want. It's going to be a *lot* easier to
debug this with that data... (If you can narrow it down to a subset of
the repository, that would simultaneously make my job easier and also
-- perhaps -- make them more likely to allow that bit of data to be
sent, since it wouldn't be very valuable out of context.)

-Karl

> Traceback (most recent call last):
> File "./cvs2svn.py", line 2131, in ?
> main()
> File "./cvs2svn.py", line 2127, in main
> convert(ctx, start_pass=start_pass)
> File "./cvs2svn.py", line 2016, in convert
> _passes[i](ctx)
> File "./cvs2svn.py", line 1980, in pass4
> sym_tracker.finish(dumper, ctx)
> File "./cvs2svn.py", line 1602, in finish
> self.fill_tag(dumper, ctx, name, [1])
> File "./cvs2svn.py", line 1557, in fill_tag
> self.fill_name(dumper, ctx, tag, 1, jit_new_rev)
> File "./cvs2svn.py", line 1535, in fill_name
> is_tag, jit_new_rev)
> File "./cvs2svn.py", line 1433, in copy_descend
> dumper.start_revision(make_revision_props(name, is_tag))
> File "./cvs2svn.py", line 868, in start_revision
> self.repos_mirror.new_revision()
> File "./cvs2svn.py", line 420, in new_revision
> self.stabilize_youngest()
> File "./cvs2svn.py", line 438, in stabilize_youngest
> self._stabilize_directory(root_key)
> File "./cvs2svn.py", line 432, in _stabilize_directory
> self._stabilize_directory(dir[entry_key])
> File "./cvs2svn.py", line 432, in _stabilize_directory
> self._stabilize_directory(dir[entry_key])
> File "./cvs2svn.py", line 431, in _stabilize_directory
> if not entry_key[0] == '/':
> IndexError: string index out of range
>
> --
> Signature at: http://www.mel.au.adaptiveinternational.com/~danpat/signature.txt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 10 05:27:54 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.