##// END OF EJS Templates
Demand-load most modules in the commands and ui modules....
Demand-load most modules in the commands and ui modules. # HG changeset patch # User Bryan O'Sullivan <bos@serpentine.com> # Node ID 059c6e42fc4221816e26a72bef8cf780891989ca # Parent d2994b5298fb20f87dc1d4747635b280db3c0526 Demand-load most modules in the commands and ui modules. This improves response times for a number of simple commands, as the Python interpreter doesn't end up loading modules that it never uses. There's less benefit to demand-loading in other modules.

File last commit:

r401:af4848f8 default
r613:5374955e default
Show More
test-tag
13 lines | 207 B | text/plain | TextLexer
#!/bin/sh -x
hg init
echo a > a
hg add a
hg commit -t "test" -u test -d "0 0"
hg history
hg tag -u test -d "0 0" "bleah"
hg history
echo foo >> .hgtags
hg tag -u test -d "0 0" "bleah2" || echo "failed"