diff -r d7685105e504 -r d67732a4b58a mercurial/configitems.py --- 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,