inconsistent delta during fetch from hg import

Bug #513368 reported by Jelmer Vernooij on 2010-01-27
54
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Bazaar Hg Plugin
Medium
Unassigned
Launchpad itself
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

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.

Michael Hudson-Doyle (mwhudson) 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.

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) on 2011-06-06
tags: added: code-import
Changed in launchpad:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → High
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) on 2011-11-28
summary: - inconsistent delta during fetch
+ inconsistent delta during fetch from hg import
Jelmer Vernooij (jelmer) on 2012-05-17
tags: added: bzr-hg
Curtis Hovey (sinzui) on 2013-01-03
Changed in launchpad:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions