diff hgext/share.py @ 50794:4c6151b69085

wrapfunction: use sysstr instead of bytes as argument in "sqlitestore" This is as valid and simpler, it will help us to eventually get ride of `safehasattr`.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 10 Jul 2023 15:38:53 +0200
parents 7a50e1720f6d
children f4733654f144
line wrap: on
line diff
--- a/hgext/share.py	Mon Jul 10 19:32:17 2023 +0200
+++ b/hgext/share.py	Mon Jul 10 15:38:53 2023 +0200
@@ -162,10 +162,10 @@
 
 
 def extsetup(ui):
-    extensions.wrapcommand(commands.table, b'clone', clone)
     extensions.wrapfunction(bookmarks, '_getbkfile', getbkfile)
     extensions.wrapfunction(bookmarks.bmstore, '_recordchange', recordchange)
     extensions.wrapfunction(bookmarks.bmstore, '_writerepo', writerepo)
+    extensions.wrapcommand(commands.table, b'clone', clone)
 
 
 def _hassharedbookmarks(repo):