changeset 4583:11cf78983961

Reverted changesets 9d1380e5c8c5 and 1d46169ec197: show @ as glog parent again. Repainted the bikeshed with its original color.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 14 Jun 2007 12:54:06 +0200
parents 7de7a80e7422
children d2dde1681933
files hgext/graphlog.py tests/test-glog.out
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 a . character are parents of the working
+    Nodes printed as an @ 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, " "])
--- a/tests/test-glog.out
+++ b/tests/test-glog.out
@@ -2,7 +2,7 @@
 % empty repo
 % building tree
 % glog -q
-.  34:0eed7cd895e0
+@  34:0eed7cd895e0
 |
 | o  33:2e9d1b521374
 | |
@@ -73,7 +73,7 @@ o /  1:3cae7826a707
 o  0:7aa22e58e8c1
 
 % glog
-.  changeset:   34:0eed7cd895e0
+@  changeset:   34:0eed7cd895e0
 |  tag:         tip
 |  parent:      32:77f7d8438a3c
 |  user:        test