KDE layout related - Empty parent '...' added, but child '...' wasn't added !?

Bug #638492 reported by Max Bowsher
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Medium
Jelmer Vernooij

Bug Description

https://code.launchpad.net/~vcs-imports/kdesupport/trunk and other branches fail to import.

The root cause here appears to be that layout.get_project_prefixes returns a list including 'tags/projectname', which is a path which does not exist.

During find_tags_between, RevisionMetadataProvider.iter_all_changes is called. This starts up a RevisionMetadataBrowser, feeding it the prefixes from layout.get_project_prefixes. These prefixes then get handed on to CachingLogWalker.iter_changes, and thence logwalker.py iter_prefixes_changes. That function incorporates the fundamental assumption that any prefix it is passed exists in the from_revnum that it is passed. Thus, we get an assertion fail.

Related branches

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 638492] Re: KDE layout related - Empty parent '...' added, but child '...' wasn't added !?

Wow, that is some awesome debugging.

I've got a basic fix for this that I'm testing at the moment.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Triaged → Fix Committed
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
tags: added: verified
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: none → 1.1.0
Jelmer Vernooij (jelmer)
tags: removed: verified
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
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.