D4245: beautifygraph: use sysstr for checking encoding._wide
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Aug 10 08:25:55 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG836433f3bdd6: beautifygraph: use sysstr for checking encoding._wide (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4245?vs=10279&id=10298
REVISION DETAIL
https://phab.mercurial-scm.org/D4245
AFFECTED FILES
hgext/beautifygraph.py
CHANGE DETAILS
diff --git a/hgext/beautifygraph.py b/hgext/beautifygraph.py
--- a/hgext/beautifygraph.py
+++ b/hgext/beautifygraph.py
@@ -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
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list