[0.5] KeyError in old_inventory when branching Lighttpd 1.4

Bug #308353 reported by Matt Nordhoff
2
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Medium
Jelmer Vernooij

Bug Description

When branching svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/ with bzr-svn 0.5 r2264 and bzr.dev r3905 on Ubuntu Hardy, it eventually dies with a KeyError:

  File "/usr/local/co/bzr/bzr/bzr.dev/bzrlib/plugins/svn/fetch.py", line 571, in _get_old_id
    return self.old_inventory[parent_id].children[basename].file_id
KeyError: u'mod_secure_download.c'

Revision history for this message
Matt Nordhoff (mnordhoff) wrote :
Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

FWIW, svn://svn.lighttpd.net/lighttpd/trunk fails with the same error on another file.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
assignee: nobody → jelmer
importance: Undecided → Medium
milestone: none → 0.5.0
status: New → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I've added some better exceptions, which will help in this case.

Revision 2111 is breaking because the file id map for that is invalid and corrupted during revision 2109.

svk seems to've done a replacement of the "src" directory by itself, without any other changes.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Triaged → Fix Released
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Argh, not actually fixed..

Changed in bzr-svn:
status: Fix Released → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Test added in 0.5 branch.

Changed in bzr-svn:
status: Triaged → In Progress
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

really fixed this time

Changed in bzr-svn:
status: In Progress → Fix Released
Revision history for this message
Matt Nordhoff (mnordhoff) wrote :

Verified fixed. Thank you! :)

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.