equal
deleted
inserted
replaced
1251 ] |
1251 ] |
1252 |
1252 |
1253 $ hg version --config extensions.throw=throw.py -Tjson |
1253 $ hg version --config extensions.throw=throw.py -Tjson |
1254 [ |
1254 [ |
1255 { |
1255 { |
1256 "extensions": [{"name": "throw", "place": "external", "ver": "1.twentythree"}], |
1256 "extensions": [{"bundled": false, "name": "throw", "ver": "1.twentythree"}], |
1257 "ver": "3.2.2" |
1257 "ver": "3.2.2" |
1258 } |
1258 } |
1259 ] |
1259 ] |
1260 |
1260 |
1261 $ LANGUAGE= LC_ALL=ja_JP.UTF-8 hg version --config extensions.strip= -Tjson |
1261 $ hg version --config extensions.strip= -Tjson |
1262 [ |
1262 [ |
1263 { |
1263 { |
1264 "extensions": [{"name": "strip", "place": "internal", "ver": null}], |
1264 "extensions": [{"bundled": true, "name": "strip", "ver": null}], |
1265 "ver": "*" (glob) |
1265 "ver": "*" (glob) |
1266 } |
1266 } |
1267 ] |
1267 ] |
1268 |
1268 |
1269 Test template output of version: |
1269 Test template output of version: |
1270 |
1270 |
1271 $ hg version --config extensions.throw=throw.py --config extensions.strip= \ |
1271 $ hg version --config extensions.throw=throw.py --config extensions.strip= \ |
1272 > -T'{extensions % "{name} {pad(ver, 16)} ({place})\n"}' |
1272 > -T'{extensions % "{name} {pad(ver, 16)} ({if(bundled, "internal", "external")})\n"}' |
1273 throw 1.twentythree (external) |
1273 throw 1.twentythree (external) |
1274 strip (internal) |
1274 strip (internal) |
1275 |
1275 |
1276 Refuse to load extensions with minimum version requirements |
1276 Refuse to load extensions with minimum version requirements |
1277 |
1277 |