##// END OF EJS Templates
rust-cpython: also accept the `filteredrevs` argument in index.headrevs...
rust-cpython: also accept the `filteredrevs` argument in index.headrevs The C version have been accepting this argument since Mercurial 3.2, lets align the Rust index here. This will make it possible to simplify the code in later changesets.

File last commit:

r52757:1c5810ce default
r52859:fb4d49c5 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()