mercurial/graphmod.py
changeset 8835 ec5483efc31f
parent 8225 46293a0c7e9f
child 8836 11ff34956ee7
equal deleted inserted replaced
8834:6d36fc70754e 8835:ec5483efc31f
    14     This generator function walks through the revision history from
    14     This generator function walks through the revision history from
    15     revision start_rev to revision stop_rev (which must be less than
    15     revision start_rev to revision stop_rev (which must be less than
    16     or equal to start_rev) and for each revision emits tuples with the
    16     or equal to start_rev) and for each revision emits tuples with the
    17     following elements:
    17     following elements:
    18 
    18 
    19       - Current node
    19       - Context of the current node
    20       - Column and color for the current node
    20       - Tuple (col, color) with column and color index for the current node
    21       - Edges; a list of (col, next_col, color) indicating the edges between
    21       - Edges; a list of (col, next_col, color) indicating the edges between
    22         the current node and its parents.
    22         the current node and its parents.
    23       - First line of the changeset description
       
    24       - The changeset author
       
    25       - The changeset date/time
       
    26     """
    23     """
    27 
    24 
    28     if start_rev == nullrev and not stop_rev:
    25     if start_rev == nullrev and not stop_rev:
    29         return
    26         return
    30 
    27