Mercurial > hg
changeset 7374:ccec5ae82282
graphlog: kill whitespace from earlier refactoring
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 14 Nov 2008 18:34:47 +0100 |
parents | d9e9dd2b00fb |
children | 9f1370130a45 |
files | hgext/graphlog.py |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/graphlog.py Fri Nov 14 14:17:42 2008 +0100 +++ b/hgext/graphlog.py Fri Nov 14 18:34:47 2008 +0100 @@ -16,7 +16,7 @@ def revisions(repo, start, stop): """cset DAG generator yielding (rev, node, [parents]) tuples - + This generator function walks through the revision history from revision start to revision stop (which must be less than or equal to start). """ @@ -30,7 +30,7 @@ def filerevs(repo, path, start, stop): """file cset DAG generator yielding (rev, node, [parents]) tuples - + This generator function walks through the revision history of a single file from revision start to revision stop (which must be less than or equal to start). @@ -49,13 +49,12 @@ def grapher(nodes): """grapher for asciigraph on a list of nodes and their parents - + nodes must generate tuples (node, parents, char, lines) where - - parents must generate the parents of node, in sorted order, and max length 2, - char is the char to print as the node symbol, and - - lines are the lines to display next to the node. + - lines are the lines to display next to the node. """ seen = [] for node, parents, char, lines in nodes: