mercurial/configitems.py
changeset 46494 d67732a4b58a
parent 46408 e948ad0dcbe2
parent 46492 7289eac777ec
child 46496 d57e607d9e33
--- a/mercurial/configitems.py	Thu Feb 04 15:04:53 2021 +0100
+++ b/mercurial/configitems.py	Thu Feb 11 20:36:46 2021 -0800
@@ -1333,11 +1333,17 @@
 )
 coreconfigitem(
     b'hooks',
-    b'.*',
+    b'[^:]*',
     default=dynamicdefault,
     generic=True,
 )
 coreconfigitem(
+    b'hooks',
+    b'.*:run-with-plain',
+    default=True,
+    generic=True,
+)
+coreconfigitem(
     b'hgweb-paths',
     b'.*',
     default=list,