wrapfunction: use sysstr instead of bytes as argument in "pager"
This is as valid and simpler, it will help us to eventually get ride of
`safehasattr`.
--- a/hgext/pager.py Fri Feb 03 04:24:40 2023 +0100
+++ b/hgext/pager.py Fri Feb 03 04:24:53 2023 +0100
@@ -76,7 +76,7 @@
ui.disablepager()
return orig(ui, options, cmd, cmdfunc)
- extensions.wrapfunction(dispatch, b'_runcommand', pagecmd)
+ extensions.wrapfunction(dispatch, '_runcommand', pagecmd)
attended = [b'annotate', b'cat', b'diff', b'export', b'glog', b'log', b'qdiff']