Show More
@@ -1310,7 +1310,7 b' coreconfigitem(' | |||
|
1310 | 1310 | ) |
|
1311 | 1311 | coreconfigitem( |
|
1312 | 1312 | b'hooks', |
|
1313 |
b' |
|
|
1313 | b'[^:]*', | |
|
1314 | 1314 | default=dynamicdefault, |
|
1315 | 1315 | generic=True, |
|
1316 | 1316 | ) |
@@ -224,7 +224,11 b' def _hookitems(ui, _untrusted=False):' | |||
|
224 | 224 | """return all hooks items ready to be sorted""" |
|
225 | 225 | hooks = {} |
|
226 | 226 | for name, cmd in ui.configitems(b'hooks', untrusted=_untrusted): |
|
227 | if name.startswith(b'priority.') or name.startswith(b'tonative.'): | |
|
227 | if ( | |
|
228 | name.startswith(b'priority.') | |
|
229 | or name.startswith(b'tonative.') | |
|
230 | or b':' in name | |
|
231 | ): | |
|
228 | 232 | continue |
|
229 | 233 | |
|
230 | 234 | priority = ui.configint(b'hooks', b'priority.%s' % name, 0) |
General Comments 0
You need to be logged in to leave comments.
Login now