##// END OF EJS Templates
beautifygraph: don't warn about busted terminal if HGPLAIN is set...
Augie Fackler -
r39249:362cb823 stable
parent child Browse files
Show More
@@ -77,6 +77,9 b' def outputprettygraph(orig, ui, graph, *'
77 77 return orig(ui, graph, *args, **kwargs)
78 78
79 79 def extsetup(ui):
80 if ui.plain('graph'):
81 return
82
80 83 if encoding.encoding != 'UTF-8':
81 84 ui.warn(_('beautifygraph: unsupported encoding, UTF-8 required\n'))
82 85 return
@@ -86,8 +89,5 b' def extsetup(ui):'
86 89 'monospace narrow text required\n'))
87 90 return
88 91
89 if ui.plain('graph'):
90 return
91
92 92 extensions.wrapfunction(graphmod, 'outputgraph', outputprettygraph)
93 93 extensions.wrapfunction(templatekw, 'getgraphnode', getprettygraphnode)
General Comments 0
You need to be logged in to leave comments. Login now