D3665: graph: improve graph output by using Unicode characters
yuya at tcha.org
Tue May 29 09:21:54 EDT 2018
> except for `encoding._wide`. I am not sure what your expectation is for that.
> I don't think it would make sense to silently disable the extension if
> `encoding._wide` is set; IMO that would cause user confusion.
I think that's also true for `encoding != 'UTF-8'`. The simplest solution
would be to show a warning when loading the extension.
if encoding.encoding != 'UTF-8' or encoding._wide:
ui.warn(_('unsupported encoding or terminal setting\n'))
More information about the Mercurial-devel