changeset 34256 | ebe3d0095c69 |
parent 34255 | d6af8da4a3b8 |
child 34375 | ebf2c1b0c70c |
--- a/mercurial/formatter.py Sun Sep 17 12:39:14 2017 +0900 +++ b/mercurial/formatter.py Sun Sep 17 12:39:53 2017 +0900 @@ -48,7 +48,8 @@ ... ui.verbose = verbose ... ui.pushbuffer() ... try: -... return fn(ui, ui.formatter(fn.__name__, opts)) +... return fn(ui, ui.formatter(pycompat.sysbytes(fn.__name__), +... pycompat.byteskwargs(opts))) ... finally: ... print(pycompat.sysstr(ui.popbuffer()), end='')