D4245: beautifygraph: use sysstr for checking encoding._wide
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=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 ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
D4245: beautifygraph: use sysstr for checking encoding._wide
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame just an r prefix REPOSITORY rHG Mercurial 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 Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel