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

Re: cvs2svn.py: two more bugs and test repositories

From: Mike Wilcox <mike_at_trouble.org.uk>
Date: 2003-07-25 01:25:57 CEST

cmpilato@collab.net wrote:
>
> Oh, *thank you*. I've been debugging this same error, but on the
> 1116th revision of a massive repository. I will start using your
> smaller repro case now.

The bad news -
Shame I didn't realise this - the data I sent Karl was a relatively
small CVS repository that showed this error.

Original report: item (3) in
http://www.contactor.se/~dast/svn/archive-2003-07/1208.shtml

Jack Moffitt wrote:
>
> Thought I'd drop a note that Mike fixed these in rev 6567 in
> case anyone else is having similar problems.

The worse news -
Sorry Mike; My version of the 1411/1427 faults still occur using rev
6567 of cvs2svn.py.

The same fault(s) as reported in the above message exist with the
privately supplied repository - the one difference is in the last entry
of the traceback:

$ rm -rf dev; python /home/mike/cvs2svn.py -s dev --create cvsroot/j_smsgw
   File "/home/mike/cvs2svn.py", line 2263, in ?
     main()
   File "/home/mike/cvs2svn.py", line 2259, in main
     convert(ctx, start_pass=start_pass)
   File "/home/mike/cvs2svn.py", line 2138, in convert
     _passes[i](ctx)
   File "/home/mike/cvs2svn.py", line 2094, in pass4
     sym_tracker.finish(dumper, ctx)
   File "/home/mike/cvs2svn.py", line 1716, in finish
     self.fill_tag(dumper, ctx, name, [1])
   File "/home/mike/cvs2svn.py", line 1663, in fill_tag
     self.fill_name(dumper, ctx, tag, 1, jit_new_rev)
   File "/home/mike/cvs2svn.py", line 1650, in fill_name
     is_tag, jit_new_rev)
   File "/home/mike/cvs2svn.py", line 1554, in copy_descend
     next_src, next_dst, is_tag, jit_new_rev)
<snip>
   File "/home/mike/cvs2svn.py", line 1529, in copy_descend
     dumper.copy_path(src_path, parent_rev, copy_dst, val)
   File "/home/mike/cvs2svn.py", line 979, in copy_path
     entries)
   File "/home/mike/cvs2svn.py", line 673, in change_path
     approved_entries = new_val.get(self.approved_entries) or { }
AttributeError: 'NoneType' object has no attribute 'get'

I'm not sure if this follow-up is a bit hasty though. I've been
following the comments added to issues 1411, 1417 and 1427. I'm not sure
if the comments there imply that the fault(s) has/have been found and
fixed, or just found :-)

Can you get a copy of the pruned CVS repository from Karl, or should I
send it on elsewhere?

Cheers,

    Mike

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