Merge lp:~jameinel/bzr/2.0rc2-419241-merge-sort into lp:bzr/2.0
Proposed by
John A Meinel
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | not available | ||||
Proposed branch: | lp:~jameinel/bzr/2.0rc2-419241-merge-sort | ||||
Merge into: | lp:bzr/2.0 | ||||
Diff against target: | 160 lines | ||||
To merge this branch: | bzr merge lp:~jameinel/bzr/2.0rc2-419241-merge-sort | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Approve | ||
Review via email: mp+10755@code.launchpad.net |
To post a comment you must log in.
This fixes a bug in KnownGraph. merge_sort( ) when there is a ghost as a mainline parent.
The old code didn't notice because we always pruned ghosts when passing in the parent_map, but it seems nicer to have merge_sort handle them directly. (Means fewer calls to _strip_NULL_ghosts :).
This is part of a critical regression right now for stuff like 'bzr log' on branches with mainline ghosts.
The second (more critical) part is coming soon.
(The code is built on the 2.0 release branch so it can be merged there primarily.)