mercurial/util.py
changeset 52893 483b0bb23085
parent 52892 acaf6bad6b89
child 52915 fdae7c26d038
--- a/mercurial/util.py	Sun Feb 09 22:45:16 2025 +0100
+++ b/mercurial/util.py	Sat Feb 08 18:12:29 2025 +0100
@@ -70,6 +70,7 @@
     urllibcompat,
 )
 from .interfaces import (
+    misc as int_misc,
     modules as intmod,
 )
 from .utils import (
@@ -3184,7 +3185,7 @@
         raise error.ParseError(_(b"couldn't parse size: %s") % s)
 
 
-class hooks:
+class hooks(int_misc.IHooks):
     """A collection of hook functions that can be used to extend a
     function's behavior. Hooks are called in lexicographic order,
     based on the names of their sources."""