##// END OF EJS Templates
version: always build list of extension versions...
Yuya Nishihara -
r29838:8540133f default
parent child Browse files
Show More
@@ -7255,7 +7255,6 b' def version_(ui):'
7255 ))
7255 ))
7256
7256
7257 ui.note(_("\nEnabled extensions:\n\n"))
7257 ui.note(_("\nEnabled extensions:\n\n"))
7258 if ui.verbose:
7259 # format names and versions into columns
7258 # format names and versions into columns
7260 names = []
7259 names = []
7261 vers = []
7260 vers = []
@@ -7270,6 +7269,7 b' def version_(ui):'
7270 if names:
7269 if names:
7271 maxnamelen = max(len(n) for n in names)
7270 maxnamelen = max(len(n) for n in names)
7272 for i, name in enumerate(names):
7271 for i, name in enumerate(names):
7272 if ui.verbose:
7273 ui.write(" %-*s %s %s\n" %
7273 ui.write(" %-*s %s %s\n" %
7274 (maxnamelen, name, place[i], vers[i]))
7274 (maxnamelen, name, place[i], vers[i]))
7275
7275
@@ -1236,6 +1236,9 b" Test version number support in 'hg versi"
1236
1236
1237 throw external 1.twentythree
1237 throw external 1.twentythree
1238
1238
1239 $ hg version -q --config extensions.throw=throw.py
1240 Mercurial Distributed SCM (version *) (glob)
1241
1239 Refuse to load extensions with minimum version requirements
1242 Refuse to load extensions with minimum version requirements
1240
1243
1241 $ cat > minversion1.py << EOF
1244 $ cat > minversion1.py << EOF
General Comments 0
You need to be logged in to leave comments. Login now