changeset 40511:c2a0bc6412db

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
author Danny Hooper <hooper@google.com>
date Sat, 13 Oct 2018 01:55:40 -0700
parents 24cb8a6d4c20
children 4fe63b573791
files hgext/beautifygraph.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 == '-':