Submitter | phabricator |
---|---|
Date | Dec. 2, 2019, 9:55 p.m. |
Message ID | <b7e79b45468d4ea2a04291a1b1cebd56@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/43570/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/win32mbcs.py b/hgext/win32mbcs.py --- a/hgext/win32mbcs.py +++ b/hgext/win32mbcs.py @@ -77,7 +77,7 @@ def decode(arg): - if isinstance(arg, str): + if isinstance(arg, bytes): uarg = arg.decode(_encoding) if arg == uarg.encode(_encoding): return uarg