hgext/graphlog.py
changeset 17119 2e13c1bd34dc
parent 16777 058e14da7044
child 17120 01d847e0fdc9
--- a/hgext/graphlog.py	Wed Jul 04 17:26:51 2012 +0200
+++ b/hgext/graphlog.py	Wed Jul 04 17:29:49 2012 +0200
@@ -455,7 +455,11 @@
              filematcher=None):
     seen, state = [], asciistate()
     for rev, type, ctx, parents in dag:
-        char = ctx.node() in showparents and '@' or 'o'
+        char = 'o'
+        if ctx.node() in showparents:
+            char = '@'
+        elif ctx.obsolete():
+            char = 'x'
         copies = None
         if getrenamed and ctx.rev():
             copies = []