##// END OF EJS Templates
version: sort extensions by name in verbose mode...
Matt Harbison -
r45547:e1ea913d default
parent child Browse files
Show More
@@ -7830,7 +7830,7 b' def version_(ui, **opts):'
7830 names = []
7830 names = []
7831 vers = []
7831 vers = []
7832 isinternals = []
7832 isinternals = []
7833 for name, module in extensions.extensions():
7833 for name, module in sorted(extensions.extensions()):
7834 names.append(name)
7834 names.append(name)
7835 vers.append(extensions.moduleversion(module) or None)
7835 vers.append(extensions.moduleversion(module) or None)
7836 isinternals.append(extensions.ismoduleinternal(module))
7836 isinternals.append(extensions.ismoduleinternal(module))
@@ -1559,8 +1559,8 b" Test version number support in 'hg versi"
1559
1559
1560 Enabled extensions:
1560 Enabled extensions:
1561
1561
1562 strip internal
1562 throw external 1.twentythree
1563 throw external 1.twentythree
1563 strip internal
1564
1564
1565 $ hg version -q --config extensions.throw=throw.py
1565 $ hg version -q --config extensions.throw=throw.py
1566 Mercurial Distributed SCM (version *) (glob)
1566 Mercurial Distributed SCM (version *) (glob)
@@ -1600,8 +1600,8 b' Test template output of version:'
1600
1600
1601 $ hg version --config extensions.throw=throw.py --config extensions.strip= \
1601 $ hg version --config extensions.throw=throw.py --config extensions.strip= \
1602 > -T'{extensions % "{name} {pad(ver, 16)} ({if(bundled, "internal", "external")})\n"}'
1602 > -T'{extensions % "{name} {pad(ver, 16)} ({if(bundled, "internal", "external")})\n"}'
1603 strip (internal)
1603 throw 1.twentythree (external)
1604 throw 1.twentythree (external)
1604 strip (internal)
1605
1605
1606 Refuse to load extensions with minimum version requirements
1606 Refuse to load extensions with minimum version requirements
1607
1607
General Comments 0
You need to be logged in to leave comments. Login now