##// 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:

r550:96ff7dae default
r613:5374955e default
Show More
test-clone.out
32 lines | 564 B | text/plain | TextLexer
+ mkdir a
+ cd a
+ hg init
+ echo a
+ hg add a
+ hg commit -t test -u test -d '0 0'
+ hg clone . ../b
+ cd ../b
+ cat a
a
+ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 1 changesets, 1 total revisions
+ hg clone -U . ../c
+ cd ../c
+ cat a
cat: a: No such file or directory
+ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 1 changesets, 1 total revisions
+ mkdir ../d
+ cd ../d
+ hg clone ../a
+ cd a
+ hg cat a
a