1222 Enabled extensions: |
1222 Enabled extensions: |
1223 |
1223 |
1224 throw external 1.2.3 |
1224 throw external 1.2.3 |
1225 $ echo 'getversion = lambda: "1.twentythree"' >> throw.py |
1225 $ echo 'getversion = lambda: "1.twentythree"' >> throw.py |
1226 $ rm -f throw.pyc throw.pyo |
1226 $ rm -f throw.pyc throw.pyo |
1227 $ hg version -v --config extensions.throw=throw.py |
1227 $ hg version -v --config extensions.throw=throw.py --config extensions.strip= |
1228 Mercurial Distributed SCM (version *) (glob) |
1228 Mercurial Distributed SCM (version *) (glob) |
1229 (see https://mercurial-scm.org for more information) |
1229 (see https://mercurial-scm.org for more information) |
1230 |
1230 |
1231 Copyright (C) 2005-* Matt Mackall and others (glob) |
1231 Copyright (C) 2005-* Matt Mackall and others (glob) |
1232 This is free software; see the source for copying conditions. There is NO |
1232 This is free software; see the source for copying conditions. There is NO |
1233 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
1233 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
1234 |
1234 |
1235 Enabled extensions: |
1235 Enabled extensions: |
1236 |
1236 |
1237 throw external 1.twentythree |
1237 throw external 1.twentythree |
|
1238 strip internal |
1238 |
1239 |
1239 $ hg version -q --config extensions.throw=throw.py |
1240 $ hg version -q --config extensions.throw=throw.py |
1240 Mercurial Distributed SCM (version *) (glob) |
1241 Mercurial Distributed SCM (version *) (glob) |
1241 |
1242 |
1242 Refuse to load extensions with minimum version requirements |
1243 Refuse to load extensions with minimum version requirements |