##// END OF EJS Templates
graft: extract creation of progress report line in a function...
graft: extract creation of progress report line in a function This will be useful to reuse it in an in-memory version of graft.

File last commit:

r52757:1c5810ce default
r53400:cef86c1d default
Show More
__main__.py
15 lines | 252 B | text/x-python | PythonLexer
Matt Harbison
typing: add `from __future__ import annotations` to remaining source files...
r52757 from __future__ import annotations
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()