view mercurial/__main__.py @ 52170:1a8466fd904a

hg-core: add fncache module For now it's only a super simple trait. It will be used for calling back into Python soon, and later will be fleshed out into a full fncache.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 29 Jul 2024 20:28:42 +0200
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()