mercurial/graphmod.py
changeset 14064 e4bfb9c337f3
parent 14043 1c1e1232abdc
child 14087 f3d585c9b042
equal deleted inserted replaced
14063:87ebf72878ed 14064:e4bfb9c337f3
    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 mercurial.node import nullrev
    21 from mercurial.cmdutil import revrange
       
    22 
    21 
    23 CHANGESET = 'C'
    22 CHANGESET = 'C'
    24 
    23 
    25 def dagwalker(repo, revs):
    24 def dagwalker(repo, revs):
    26     """cset DAG generator yielding (id, CHANGESET, ctx, [parentids]) tuples
    25     """cset DAG generator yielding (id, CHANGESET, ctx, [parentids]) tuples