Mercurial > hg-stable
changeset 4509:9d1380e5c8c5
graphlog: Print . instead of @ for working directory parents
"." is accepted as an alias for the first working directory parent by -r/--rev
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 06 Jun 2007 18:28:48 +0200 |
parents | 0026ccc2bf23 |
children | e0bc2c575044 |
files | hgext/graphlog.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/graphlog.py Tue Jun 05 19:55:27 2007 -0300 +++ b/hgext/graphlog.py Wed Jun 06 18:28:48 2007 +0200 @@ -147,7 +147,7 @@ Print a revision history alongside a revision graph drawn with ASCII characters. - Nodes printed as an @ character are parents of the working + Nodes printed as a . character are parents of the working directory. """ @@ -199,10 +199,10 @@ # o | | o | | fix_nodeline_tail = len(log_strings) <= 2 and not add_padding_line - # nodeline is the line containing the node character (@ or o). + # nodeline is the line containing the node character (. or o). nodeline = ["|", " "] * node_index if node in repo_parents: - node_ch = "@" + node_ch = "." else: node_ch = "o" nodeline.extend([node_ch, " "])