graphlog: remove unused ASCIIDATA constant
authorPatrick Mezard <patrick@mezard.eu>
Wed, 11 Jul 2012 16:47:33 +0200
changeset 17164 8299a9ad48dd
parent 17163 4c5d7124661a
child 17165 249cc4ec4327
graphlog: remove unused ASCIIDATA constant It was introduced by d9acbe7b0049, returned by asciiformat() but never read anywhere. 20140c249e63 stopped using it completely, and the graphmod.CHANGESET type is passed through all functions.
hgext/graphlog.py
--- a/hgext/graphlog.py	Wed Jul 11 17:10:21 2012 +0200
+++ b/hgext/graphlog.py	Wed Jul 11 16:47:33 2012 +0200
@@ -21,8 +21,6 @@
 command = cmdutil.command(cmdtable)
 testedwith = 'internal'
 
-ASCIIDATA = 'ASC'
-
 def asciiedges(type, char, lines, seen, rev, parents):
     """adds edge info to changelog DAG walk suitable for ascii()"""
     if rev not in seen:
@@ -132,7 +130,7 @@
       - ui to write to
       - Somewhere to keep the needed state in (init to asciistate())
       - Column of the current node in the set of ongoing edges.
-      - Type indicator of node data == ASCIIDATA.
+      - Type indicator of node data, usually 'C' for changesets.
       - Payload: (char, lines):
         - Character to use as node's symbol.
         - List of lines to display as the node's text.