svn2bzr raises NotVersionedError on potentially broken svn dump

Bug #53463 reported by Max Vozeler
2
Affects Status Importance Assigned to Milestone
svn2bzr
Fix Committed
Undecided
Unassigned

Bug Description

I encountered this problem trying to convert my development repository.

...
Committing revision 78
Committing revision 79
Committing revision 80
Traceback (most recent call last):
  File "./svn2bzr", line 671, in ?
    main()
  File "./svn2bzr", line 664, in main
    opts.prefix, opts.filter, opts.check)
  File "./svn2bzr", line 595, in svn2bzr
    creator.run()
  File "./svn2bzr", line 408, in run
    self.remove(node_path)
  File "./svn2bzr", line 333, in remove
    branch.__wt.remove(path_branch)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 51, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/workingtree.py", line 1156, in remove
    raise NotVersionedError(path=f)
bzrlib.errors.NotVersionedError: cdtool/upstream-trunk/main.c is not versioned

From discussion on #bzr:

< j-a-meinel> Something like 'somehow svn is capable of generating a Change when there is no base, and svn2bzr fails trying to remove the nonexistant old file"

I've uploaded the svn dump to http://nusquama.org/~max/scratch/svn.dump.bz2 in case it could be useful.

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

I was able to successfully convert the whole repository with the current trunk.

Changed in svn2bzr:
status: Unconfirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.