[MERGE] Fix a bug with how PendingAncestryResult.get_keys handles NULL_REVISION.
Andrew Bennetts
andrew.bennetts at canonical.com
Tue Mar 10 00:49:35 GMT 2009
This fixes a bug that affected Vincent. If graph.iter_ancestry(key) returns
NULL_REVISION somewhere other than at the end of the history (as can occur
when there are non-lefthand root revisions), then PendingAncestryResult
would stupidly raise an AssertionError.
What we actually care about is filtering out NULL_REVISION whereever it does
occur (because we don't want to try to fetch records for it), so this patch
does that rather than expecting it to be the final key in the ancestry.
-Andrew.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-pending-ancestry-keys-4099.patch
Type: text/x-diff
Size: 4851 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090310/874739e6/attachment.bin
More information about the bazaar
mailing list