diff --git a/mercurial/encoding.py b/mercurial/encoding.py --- a/mercurial/encoding.py +++ b/mercurial/encoding.py @@ -205,7 +205,7 @@ def fromlocal(s): - # type: (bytes) -> Text + # type: (bytes) -> bytes """ Convert a string from the local character encoding to UTF-8