inconsistent delta during fetch from hg import

Bug #513368 reported by Jelmer Vernooij
54
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Bazaar Hg Plugin
Triaged
Medium
Unassigned
Launchpad itself
Won't Fix
High
Unassigned

Bug Description

  affects bzr-hg
  status triaged
  importance medium

We seem to end up with an inconsistent delta in some situations during
fetch. An example of this is triggered by the xemacs repository:

bzrlib.errors.InconsistentDelta: An inconsistent delta was supplied
involving '<unknown>', 'hg:modules_ssample'
reason: Parent is not present in resulting inventory.

http://launchpadlibrarian.net/38457032/xemacs-trunk-log.txt

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

as also seen in http://launchpadlibrarian.net/40915075/vcs-imports-sphinx-trunk-log.txt. I'll attach the .b.zr.log from trying the fetch locally.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Revision history for this message
Sebastian Rühl (sebastian-ruehl) wrote :
Revision history for this message
Sebastian Rühl (sebastian-ruehl) wrote :

So I located the place of the exception here:
http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/view/head:/bzrlib/inventory.py#L1775
But still I don't really understand the meaning... Is there a way to workaround this problem? Is there something with the Repository wrong... Maybe somebody can explain me in this exception in detail. Thanks.

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

I'm facing this bug attempting to import the Go repository by hand too, just with plain command line interaction with linear commits (no branching/merging/etc). It seems to be unrelated to the bzr-hg import system itself, but rather about the content in the repository somehow.

Jelmer Vernooij (jelmer)
tags: added: code-import
Changed in launchpad:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → High
Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

Actually, my problem *is* on bzr-hg. Even though I didn't use bzr-hg for this branch, the branch
contains a .hg directory as part of it (which was done precisely as a cheap workaround for
this bug), and bzr-hg was kicking in unintendedly.

Thanks to maxb over IRC for the hint.

Jelmer Vernooij (jelmer)
summary: - inconsistent delta during fetch
+ inconsistent delta during fetch from hg import
Jelmer Vernooij (jelmer)
tags: added: bzr-hg
Curtis Hovey (sinzui)
Changed in launchpad:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions