Merge lp:~maxb/bzr-builddeb/graph-heads-misuse into lp:bzr-builddeb
Proposed by
Max Bowsher
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | 562 |
Merged at revision: | 562 |
Proposed branch: | lp:~maxb/bzr-builddeb/graph-heads-misuse |
Merge into: | lp:bzr-builddeb |
Diff against target: |
65 lines (+10/-16) 1 file modified
import_dsc.py (+10/-16) |
To merge this branch: | bzr merge lp:~maxb/bzr-builddeb/graph-heads-misuse |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Review via email:
|
Description of the change
Via some weirdness in the rxtx UDD import (mentioned in bug 785859), I discovered some code which assumes that:
len(
means that it is safe to pull A into a branch currently at B.
This, however, fails to take into account whether A is an ancestor of B, or B is an ancestor of A.
The end result was that the importer elided the Ubuntu-specific history from the oneiric branch after a ./requeue_
The fix is simply to take account of *which* of A and B is the head.
To post a comment you must log in.
Nice catch Max, thanks.
James