encoding: fix bad type annotation
This function returns utf-8 in a bytes, not a unicode.
Differential Revision: https://phab.mercurial-scm.org/D7379
--- a/mercurial/encoding.py Thu Nov 14 13:13:36 2019 -0500
+++ b/mercurial/encoding.py Wed Nov 13 20:32:24 2019 -0500
@@ -205,7 +205,7 @@
def fromlocal(s):
- # type: (bytes) -> Text
+ # type: (bytes) -> bytes
"""
Convert a string from the local character encoding to UTF-8