Herald added a subscriber: mercurial-patches.
Josh54 added a comment.
This website has provided me with interesting information on my favorite
subject. [URL=https://dordle.online/]dordle[/URL] I thoroughly enjoyed reading
your posts. [URL=https://wordhurdle.co/]word hurdle[/URL] Thanks
yuja added a comment.
> - a/mercurial/encoding.py
>
> +++ b/mercurial/encoding.py
> @@ -241,8 +241,15 @@
>
> strfromlocal = unifromlocal
> strmethod = unimethod
>
> else:
>
> - strtolocal = pycompat.identity
> - strfromlocal = pycompat.identity
>
> +
> +def
> --- a/mercurial/encoding.py
> +++ b/mercurial/encoding.py
> @@ -241,8 +241,15 @@
> strfromlocal = unifromlocal
> strmethod = unimethod
> else:
> -strtolocal = pycompat.identity
> -strfromlocal = pycompat.identity
> +
> +def strtolocal(s):
> +# type: (str) -> bytes
Closed by commit rHG5f2a8dabb0d8: encoding: define local identify functions
with explicit type comments (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This removes some obfuscation as far as pytype is concerned and
corrects many bogus type errors.
REPOSITORY
rHG Mercurial
REVISION DETAIL