graphlog: Print . instead of @ for working directory parents
"." is accepted as an alias for the first working directory parent by -r/--rev
--- 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, " "])