dispatch: ensure repr is bytes in _mayberepr
Fixes command line arguments containing spaces on Python 3.
--- a/mercurial/dispatch.py Sun Mar 19 00:21:26 2017 -0400
+++ b/mercurial/dispatch.py Sun Mar 19 00:22:04 2017 -0400
@@ -94,7 +94,7 @@
def _mayberepr(a):
if ' ' in a:
- return repr(a)
+ return encoding.strtolocal(repr(a))
return a
def _formatargs(args):