mercurial/exthelper.py
changeset 50795 d9e22b39041a
parent 48946 642e31cb55f0
child 51859 f4733654f144
--- a/mercurial/exthelper.py	Mon Jul 10 15:38:53 2023 +0200
+++ b/mercurial/exthelper.py	Mon Jul 10 19:33:14 2023 +0200
@@ -325,7 +325,7 @@
             # Required, otherwise the function will not be wrapped
             uisetup = eh.finaluisetup
 
-            @eh.wrapfunction(discovery, b'checkheads')
+            @eh.wrapfunction(discovery, 'checkheads')
             def wrapcheckheads(orig, *args, **kwargs):
                 ui.note(b'His head smashed in and his heart cut out')
                 return orig(*args, **kwargs)