diff -r bd1483fd7088 -r 7f0cb9ee0534 mercurial/urllibcompat.py --- a/mercurial/urllibcompat.py Mon Jul 22 16:49:38 2024 +0200 +++ b/mercurial/urllibcompat.py Tue Jul 23 10:02:46 2024 +0200 @@ -109,7 +109,6 @@ ), ) - # urllib.parse.quote() accepts both str and bytes, decodes bytes # (if necessary), and returns str. This is wonky. We provide a custom # implementation that only accepts bytes and emits bytes.