wrapfunction: use sysstr instead of bytes as argument in "bookflow"
This is as valid and simpler, it will help us to eventually get ride of
`safehasattr`.
--- a/hgext/bookflow.py Fri Feb 03 04:09:49 2023 +0100
+++ b/hgext/bookflow.py Fri Feb 03 04:10:00 2023 +0100
@@ -117,8 +117,8 @@
def uisetup(ui):
- extensions.wrapfunction(bookmarks, b'update', bookmarks_update)
- extensions.wrapfunction(bookmarks, b'addbookmarks', bookmarks_addbookmarks)
+ extensions.wrapfunction(bookmarks, 'update', bookmarks_update)
+ extensions.wrapfunction(bookmarks, 'addbookmarks', bookmarks_addbookmarks)
extensions.wrapcommand(commands.table, b'commit', commands_commit)
extensions.wrapcommand(commands.table, b'pull', commands_pull)
if not ui.configbool(MY_NAME, b'enable-branches'):