# HG changeset patch # User Peter Arrenbrecht # Date 2009-05-14 15:32:31 # Node ID ec5483efc31f6f145900e14034a25ae33f2320a3 # Parent 6d36fc70754e3a93f8c2a1da2ae2036b78827203 graphmod: code cleanup and doc fix diff --git a/mercurial/graphmod.py b/mercurial/graphmod.py --- a/mercurial/graphmod.py +++ b/mercurial/graphmod.py @@ -16,13 +16,10 @@ def graph(repo, start_rev, stop_rev): or equal to start_rev) and for each revision emits tuples with the following elements: - - Current node - - Column and color for the current node + - Context of the current node + - Tuple (col, color) with column and color index for the current node - Edges; a list of (col, next_col, color) indicating the edges between the current node and its parents. - - First line of the changeset description - - The changeset author - - The changeset date/time """ if start_rev == nullrev and not stop_rev: