wrapfunction: use sysstr instead of bytes as argument in "schemes"
This is as valid and simpler, it will help us to eventually get ride of
`safehasattr`.
--- a/hgext/schemes.py Fri Feb 03 04:25:43 2023 +0100
+++ b/hgext/schemes.py Fri Feb 03 04:25:57 2023 +0100
@@ -159,7 +159,7 @@
else:
hg.repo_schemes[scheme] = ShortRepository(url, scheme, t)
- extensions.wrapfunction(urlutil, b'hasdriveletter', hasdriveletter)
+ extensions.wrapfunction(urlutil, 'hasdriveletter', hasdriveletter)
@command(b'debugexpandscheme', norepo=True)