mercurial/configitems.py
branchstable
changeset 46368 86b019899737
parent 46334 6e81446bf1d9
child 46370 7289eac777ec
--- a/mercurial/configitems.py	Wed Feb 10 21:46:29 2021 +0100
+++ b/mercurial/configitems.py	Wed Feb 10 21:05:05 2021 +0100
@@ -1310,7 +1310,7 @@
 )
 coreconfigitem(
     b'hooks',
-    b'.*',
+    b'[^:]*',
     default=dynamicdefault,
     generic=True,
 )