# HG changeset patch # User Augie Fackler # Date 1533874065 14400 # Node ID 836433f3bdd600dbc26a8424e717893c2392cf46 # Parent 38409be2f521aa9b298ce8beb55e44b7cdd1c82d beautifygraph: use sysstr for checking encoding._wide # skip-blame just an r prefix Differential Revision: https://phab.mercurial-scm.org/D4245 diff -r 38409be2f521 -r 836433f3bdd6 hgext/beautifygraph.py --- a/hgext/beautifygraph.py Fri Aug 10 01:42:01 2018 -0400 +++ b/hgext/beautifygraph.py Fri Aug 10 00:07:45 2018 -0400 @@ -82,7 +82,7 @@ ui.warn(_('beautifygraph: unsupported encoding, UTF-8 required\n')) return - if 'A' in encoding._wide: + if r'A' in encoding._wide: ui.warn(_('beautifygraph: unsupported terminal settings, ' 'monospace narrow text required\n')) return