mercurial/__main__.py
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Thu, 01 Aug 2024 13:04:38 +0100
branchstable
changeset 51670 955084b4f74f
parent 50697 e7ef11b75fdc
permissions -rw-r--r--
rhg: ignore readonly FS error when saving dirstate The error is already ignored when the .hg directory is read-only, so this is only fair. (the python hg is silent on readonly fs, too)

def run():
    from . import demandimport

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

        dispatch.run()


if __name__ == '__main__':
    run()