Submitter | Augie Fackler |
---|---|
Date | March 11, 2017, 7:39 p.m. |
Message ID | <89063bba547df62c98ec.1489261155@augie-macbookair2.roam.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/19106/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -747,6 +747,8 @@ def _dispatch(req): if options['verbose'] or options['debug'] or options['quiet']: for opt in ('verbose', 'debug', 'quiet'): val = str(bool(options[opt])) + if pycompat.ispy3: + val = val.encode('ascii') for ui_ in uis: ui_.setconfig('ui', opt, val, '--' + opt)