Mercurial > public > mercurial-scm > hg
comparison mercurial/graphmod.py @ 8835:ec5483efc31f
graphmod: code cleanup and doc fix
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Thu, 14 May 2009 17:32:31 +0200 |
parents | 46293a0c7e9f |
children | 11ff34956ee7 |
comparison
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 |