##// END OF EJS Templates
graft: trim an InputError message...
graft: trim an InputError message This goes all the way back to its introduction in 3c0d5016b2be. There don't seem to be any i18n strings right now, nor any test coverage, but I suspect this was a mistake. Smaller, more digestable files FTW.

File last commit:

r52757:1c5810ce default
r53245:99615755 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()