##// END OF EJS Templates
debug-revlog: keep the revlog open for the analysis duration...
debug-revlog: keep the revlog open for the analysis duration This is more explicit. No performance differences were observed.

File last commit:

r51590:e7ef11b7 default
r51910:edc44ab7 default
Show More
__main__.py
12 lines | 215 B | text/x-python | PythonLexer
Jason R. Coombs
library: incorporate demandimport into runpy invocation
r51590 def run():
from . import demandimport
with demandimport.tracing.log('hg script'):
demandimport.enable()
from . import dispatch
dispatch.run()
Jason R. Coombs
library: enable runpy invocation on mercurial package
r51589 if __name__ == '__main__':
Jason R. Coombs
library: incorporate demandimport into runpy invocation
r51590 run()