view mercurial/__main__.py @ 52220:7a149cf41398 stable

run-tests: focus on listing the selected test for the shard tests We don't care about actually running the test, but we care about what is selected and the stability of it. So we focus on using `--list-tests` to easily compare any changes that might happens.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 11 Nov 2024 11:13:34 +0100
parents 1c5810ce737e
children
line wrap: on
line source

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()