Mercurial > public > mercurial-scm > hg
comparison mercurial/extensions.py @ 51686:493034cc3265
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 | eda075d7b2ac |
children | 7f0cb9ee0534 |
comparison
equal
deleted
inserted
replaced
51685:39e2b2d062c1 | 51686:493034cc3265 |
---|---|
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', |