Show More
@@ -742,7 +742,7 def headrevs(revs, parentsfn): | |||||
742 | def linearize(revs, parentsfn): |
|
742 | def linearize(revs, parentsfn): | |
743 | """Linearize and topologically sort a list of revisions. |
|
743 | """Linearize and topologically sort a list of revisions. | |
744 |
|
744 | |||
745 |
The linearization process t |
|
745 | The linearization process tries to create long runs of revs where a child | |
746 | rev comes immediately after its first parent. This is done by visiting the |
|
746 | rev comes immediately after its first parent. This is done by visiting the | |
747 | heads of the revs in inverse topological order, and for each visited rev, |
|
747 | heads of the revs in inverse topological order, and for each visited rev, | |
748 | visiting its second parent, then its first parent, then adding the rev |
|
748 | visiting its second parent, then its first parent, then adding the rev |
General Comments 0
You need to be logged in to leave comments.
Login now