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

cvs2svn.py in version 6411

From: Mike Wilcox <mike_at_trouble.org.uk>
Date: 2003-07-09 12:00:39 CEST

Hi,

I ran the latest cvs2svn over our cvs repository overnight, to see how
well the branch/tag development coped ;) and came up with a problem:

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 1959, in pass4
     c.commit(dumper, ctx, sym_tracker)
   File "cvs2svn.py", line 1761, in commit
     path_deleted, closed_tags, closed_branches = \
   File "cvs2svn.py", line 1032, in delete_path
     branches, prune)
ValueError: unpack tuple of wrong size

I don't know python, but I suspect that the problem is:

*** cvs2svn.py.6411 2003-07-09 01:08:57.000000000 +0100
--- cvs2svn.py 2003-07-09 10:21:55.000000000 +0100
***************
*** 697,703 ****

         # If we can't reach the dest, then we don't need to do anything.
         if not parent.has_key(component):
! return None, ()

         # Otherwise continue downward, dropping breadcrumbs.
         this_entry_key = parent[component]
--- 697,703 ----

         # If we can't reach the dest, then we don't need to do anything.
         if not parent.has_key(component):
! return None, [], []

         # Otherwise continue downward, dropping breadcrumbs.
         this_entry_key = parent[component]

I am in the process of testing it, but it will be another 2 hours before
it gets to that point again!

Cheers,

    Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 9 14:49:01 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.