mercurial/__main__.py
author Matt Harbison <matt_harbison@yahoo.com>
Sat, 19 Aug 2023 22:56:14 -0400
changeset 50823 b922c767b214
parent 50697 e7ef11b75fdc
child 51864 1c5810ce737e
permissions -rw-r--r--
cat: avoid round tripping **opts -> byteskwargs -> strkwargs Some internal users still want byteskwargs, so they are serviced in place. Once this pattern of changing types is eliminated everywhere, the remaining internal uses can be cleaned up individually (hopefully).

def run():
    from . import demandimport

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

        dispatch.run()


if __name__ == '__main__':
    run()