--- 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, )