changeset 50694 | e7ef11b75fdc |
parent 50693 | eb01d3a65ad8 |
child 51860 | 1c5810ce737e |
50693:eb01d3a65ad8 | 50694:e7ef11b75fdc |
---|---|
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() |