diff -r 421ea5772039 -r be8552f25cab mercurial/windows.py --- a/mercurial/windows.py Wed Nov 13 20:42:13 2019 +0100 +++ b/mercurial/windows.py Sun Dec 01 18:46:10 2019 -0500 @@ -507,7 +507,7 @@ pathexts = [b''] def findexisting(pathcommand): - b'Will append extension (if needed) and return existing file' + """Will append extension (if needed) and return existing file""" for ext in pathexts: executable = pathcommand + ext if os.path.exists(executable):