beautifygraph: don't substitute anything for 'X' in rendered graphs
authorDanny Hooper <hooper@google.com>
Sat, 13 Oct 2018 01:55:40 -0700
changeset 40457 c2a0bc6412db
parent 40456 24cb8a6d4c20
child 40460 4fe63b573791
beautifygraph: don't substitute anything for 'X' in rendered graphs It looks like we never actually render graphs this way, although there's an example in a comment next to the code that prevents it from being needed (see graphmod.ascii()). Differential Revision: https://phab.mercurial-scm.org/D5103
hgext/beautifygraph.py
--- a/hgext/beautifygraph.py	Wed Oct 24 21:29:04 2018 +0900
+++ b/hgext/beautifygraph.py	Sat Oct 13 01:55:40 2018 -0700
@@ -31,8 +31,6 @@
 def prettyedge(before, edge, after):
     if edge == '~':
         return '\xE2\x95\xA7' # U+2567 ╧
-    if edge == 'X':
-        return '\xE2\x95\xB3' # U+2573 ╳
     if edge == '/':
         return '\xE2\x95\xB1' # U+2571 ╱
     if edge == '-':