mercurial/__main__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 28 Feb 2024 12:56:08 +0100
changeset 51522 5f9350956c03
parent 50697 e7ef11b75fdc
permissions -rw-r--r--
branchcache: add more test for the logic around obsolescence and branch heads While working on branch-cache-v3, we noticed some ambiguity in the filtered+obsolete hash. However this was only caught by a rebase test by chance. It seems important to explicitly tests these cases.

def run():
    from . import demandimport

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

        dispatch.run()


if __name__ == '__main__':
    run()