# HG changeset patch # User Thomas Arendsen Hein # Date 1181147328 -7200 # Node ID 9d1380e5c8c5e4356637ae8fcdbbafe0aa2bc10c # Parent 0026ccc2bf23ab06889e3668a4771787cabf1ee6 graphlog: Print . instead of @ for working directory parents "." is accepted as an alias for the first working directory parent by -r/--rev diff --git a/hgext/graphlog.py b/hgext/graphlog.py --- a/hgext/graphlog.py +++ b/hgext/graphlog.py @@ -147,7 +147,7 @@ def graphlog(ui, repo, *args, **opts): 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 @@ def graphlog(ui, repo, *args, **opts): # 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, " "])