##// END OF EJS Templates
library: incorporate demandimport into runpy invocation
Jason R. Coombs -
r51590:e7ef11b7 default
parent child Browse files
Show More
@@ -1,4 +1,12 b''
1 def run():
2 from . import demandimport
3
4 with demandimport.tracing.log('hg script'):
5 demandimport.enable()
6 from . import dispatch
7
8 dispatch.run()
9
10
1 if __name__ == '__main__':
11 if __name__ == '__main__':
2 from . import dispatch
12 run()
3
4 dispatch.run()
General Comments 0
You need to be logged in to leave comments. Login now