Mike Wilcox <mike@trouble.org.uk> writes:
> 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:
I'll take a look now -- thanks for the patch-as-tentative-diagnosis,
that helps a lot :-).
If the problem turns out to be more complex, I'll probably ask you to
send me a small CVS repository that reproduces the problem, plus more
details (such as, what was the exact invocation of cvs2svn?). Just
giving you fair warning now... :-)
-Karl
> *** 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!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 9 18:30:36 2003