comparison mercurial/extensions.py @ 51762:ca7bde5dbafb

black: format the codebase with 23.3.0 The CI has moved to 23.3.0, which is the last version that supports 3.7 at runtime, so we should honor this change. # skip-blame mass-reformating only
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 18 Jul 2024 12:36:12 +0200
parents 7f0cb9ee0534
children f4733654f144
comparison
equal deleted inserted replaced
51761:b0a4de6c14f8 51762:ca7bde5dbafb
288 ) 288 )
289 ui.log(b'extension', b'- processing %d entries\n', len(result)) 289 ui.log(b'extension', b'- processing %d entries\n', len(result))
290 with util.timedcm('load all extensions') as stats: 290 with util.timedcm('load all extensions') as stats:
291 default_sub_options = ui.configsuboptions(b"extensions", b"*")[1] 291 default_sub_options = ui.configsuboptions(b"extensions", b"*")[1]
292 292
293 for (name, path) in result: 293 for name, path in result:
294 if path: 294 if path:
295 if path[0:1] == b'!': 295 if path[0:1] == b'!':
296 if name not in _disabledextensions: 296 if name not in _disabledextensions:
297 ui.log( 297 ui.log(
298 b'extension', 298 b'extension',