Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dispatch.py @ 45968: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 |
line wrap: on
line diff
--- a/mercurial/dispatch.py Fri Nov 27 15:39:27 2020 -0500 +++ b/mercurial/dispatch.py Fri Nov 27 15:45:37 2020 -0500 @@ -1312,7 +1312,7 @@ + (_(b"** Mercurial Distributed SCM (version %s)\n") % util.version()) + ( _(b"** Extensions loaded: %s\n") - % b", ".join([x[0] for x in extensions.extensions()]) + % b", ".join([x[0] for x in sorted(extensions.extensions())]) ) ) return warning