equal
deleted
inserted
replaced
15 The node and parent ids are arbitrary integers which identify a node in the |
15 The node and parent ids are arbitrary integers which identify a node in the |
16 context of the graph returned. Type is a constant specifying the node type. |
16 context of the graph returned. Type is a constant specifying the node type. |
17 Data depends on type. |
17 Data depends on type. |
18 """ |
18 """ |
19 |
19 |
20 from mercurial.node import nullrev |
20 from __future__ import absolute_import |
21 import util |
|
22 |
21 |
23 import heapq |
22 import heapq |
|
23 |
|
24 from .node import nullrev |
|
25 from . import util |
24 |
26 |
25 CHANGESET = 'C' |
27 CHANGESET = 'C' |
26 |
28 |
27 def groupbranchiter(revs, parentsfunc, firstbranch=()): |
29 def groupbranchiter(revs, parentsfunc, firstbranch=()): |
28 """Yield revisions from heads to roots one (topo) branch at a time. |
30 """Yield revisions from heads to roots one (topo) branch at a time. |