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

cvs2svn.py (r6418) traceback

From: Daniel Patterson <danpat_at_adaptiveinternational.com>
Date: 2003-07-10 03:35:00 CEST

Ken,

  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.

  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?).

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

daniel

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
Received on Thu Jul 10 03:35:57 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.