path-suboption: use str for "pushrev" suboptions
That second argument refer to an attribute and do not needs to be bytes.
--- a/mercurial/utils/urlutil.py Wed Aug 30 00:48:30 2023 +0200
+++ b/mercurial/utils/urlutil.py Wed Aug 30 00:49:16 2023 +0200
@@ -720,7 +720,7 @@
return bytes(u)
-@pathsuboption(b'pushrev', b'pushrev')
+@pathsuboption(b'pushrev', 'pushrev')
def pushrevpathoption(ui, path, value):
return value