Mercurial > hg
comparison mercurial/dispatch.py @ 45953:d896c958e428
dispatch: sort the loaded extension names in the bug report
This makes a long list of extensions easier to read. On very rare occasion I've
seen issues where the load order mattered, however that info should still be
obtainable with `hg config extensions`.
Differential Revision: https://phab.mercurial-scm.org/D9439
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Nov 2020 15:45:37 -0500 |
parents | a2104b9b1787 |
children | a120d1c9c704 |
comparison
equal
deleted
inserted
replaced
45952:a2104b9b1787 | 45953:d896c958e428 |
---|---|
1310 warning += ( | 1310 warning += ( |
1311 (_(b"** Python %s\n") % sysversion) | 1311 (_(b"** Python %s\n") % sysversion) |
1312 + (_(b"** Mercurial Distributed SCM (version %s)\n") % util.version()) | 1312 + (_(b"** Mercurial Distributed SCM (version %s)\n") % util.version()) |
1313 + ( | 1313 + ( |
1314 _(b"** Extensions loaded: %s\n") | 1314 _(b"** Extensions loaded: %s\n") |
1315 % b", ".join([x[0] for x in extensions.extensions()]) | 1315 % b", ".join([x[0] for x in sorted(extensions.extensions())]) |
1316 ) | 1316 ) |
1317 ) | 1317 ) |
1318 return warning | 1318 return warning |
1319 | 1319 |
1320 | 1320 |