mercurial/__main__.py
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Fri, 26 Apr 2024 18:53:02 +0100
changeset 51622 aa23b19e6da4
parent 50694 e7ef11b75fdc
child 51860 1c5810ce737e
permissions -rw-r--r--
match: make `was_tampered_with` work recursively This is useful if we are to use it outside of Rust, when deciding whether or not to do some fast-path operation with a given matcher.

def run():
    from . import demandimport

    with demandimport.tracing.log('hg script'):
        demandimport.enable()
        from . import dispatch

        dispatch.run()


if __name__ == '__main__':
    run()