Comment 2 for bug 888615

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 888615] [NEW] UDD branch freshness checker breaks on incomplete history

Am 13/11/11 22:39, schrieb John A Meinel:
> On 11/10/2011 5:23 PM, Jelmer Vernooij wrote:
>> Public bug reported:
>>
>> Several of the UDD imports fail like this:
>
> ...
>
>> File "/srv/package-import.canonical.com/new/bzr/bzrlib/graph.py", line
1034, in iter_lefthand_ancestry
>> parents = get_parents(next_key)
>> File "/srv/package-import.canonical.com/new/bzr/bzrlib/graph.py", line
1030, in get_parents
>> raise errors.RevisionNotPresent(next_key, self)
>> bzrlib.errors.RevisionNotPresent: Revision
{<email address hidden>} not present in
"Graph(StackedParentsProvider(bzrlib.repository._LazyListJoin(([CachingParentsProvider(None)],
[]))))".
>>
>> We should either disable this check in the UDD importer or make it non-
>> fatal.
>
> This certainly sounds like bad data in the branches if it is failing
> like this.
>
That's probably true too, but in the case of the importer it seems like
commenting out the freshness-checker works around the issue.

Cheers,

Jelmer