view mercurial/__main__.py @ 51326:01db705bbe32

delta-find: move tested in the _DeltaSearch.__init__ Now that we have an object we can initialize that attribute at initialization time. This will make it available for more method in the future, allowing to split the code.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 23 Nov 2023 01:13:40 +0100
parents e7ef11b75fdc
children 1c5810ce737e
line wrap: on
line source

def run():
    from . import demandimport

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

        dispatch.run()


if __name__ == '__main__':
    run()