view mercurial/__main__.py @ 50822:181936ad069a stable

gpg: fix an UnboundLocalError whenever using --force It looks like this has been broke for almost a decade, since 9c89ac99690e.
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 20 Aug 2023 16:32:18 -0400
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()