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

cvs2svn.py: two more bugs and test repositories

From: Jack Moffitt <jack_at_xiph.org>
Date: 2003-07-23 08:02:11 CEST

Ok, I've finally narrowed down the "finishing tag 'start'" problem to a
4MB repository with about 4-5 modules. Removing anything eliminates the
error or causes a different one.

Running 'cvs2svn.py -v --dump-only testrepo-tag' fails with:
 File "../cvs2svn/cvs2svn.py", line 983, in copy_path entries)
 File "../cvs2svn/cvs2svn.py", line 673, in change_path
   approved_entries = new_val.get(self.approved_entries)
AttributeError: 'NoneType' object has no attribute 'get'

It looks it is tripping over the same thing as Bug #1417, just from a
different code path.

Also note that the reproduction data is very senstive to being messed
with. I have a feeling this bug depends on the order the modules get
processed in or something, as two different times I hosed my test
repository by copying back in something that I had taken out earlier.
After that, nothing I did could make it fail again. So if it stops
working, just untar and start over :)

Repository data is here: http://i.cantcode.com/~jack/testrepo-tag.tar.gz

The other bug happens when you delete the 'masktest' module from the
above repository. cvs2svn.py then fails with:

No origin records for branch 'xiph'.

This may or may not be a bug, but I figured I should report it just in
case. The repository data for this is here:
http://i.cantcode.com/~jack/testrepo-nobranch.tar.gz

jack.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 23 08:03:09 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.