changeset 17164:8299a9ad48dd

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.
author Patrick Mezard <patrick@mezard.eu>
date Wed, 11 Jul 2012 16:47:33 +0200
parents 4c5d7124661a
children 249cc4ec4327
files hgext/graphlog.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.