##// END OF EJS Templates
cmdutil: stop using the `pycompat.open()` shim...
cmdutil: stop using the `pycompat.open()` shim Somewhat dubious I suppose, but maybe it makes sense to use the type checking system to more aggressively use str for trivial things like the `mode` argument to the function that calls this. That's a project for another day.

File last commit:

r52756:f4733654 default
r53267:00f5966f default
Show More
__main__.py
15 lines | 252 B | text/x-python | PythonLexer
from __future__ import annotations
def run():
from . import demandimport
with demandimport.tracing.log('hg script'):
demandimport.enable()
from . import dispatch
dispatch.run()
if __name__ == '__main__':
run()