tests/helper-killhook.py
author Simon Sapin <simon.sapin@octobus.net>
Fri, 28 May 2021 12:16:14 +0200
changeset 47346 5e12b6bfdd3e
parent 47284 21ed126bab53
permissions -rw-r--r--
dirstate-tree: Fix status algorithm with unreadable directory When reading a directory fails such as because of insufficient permissions, it should be treated as empty by status instead of skipped entirely. Differential Revision: https://phab.mercurial-scm.org/D10823

import os


def killme(ui, repo, hooktype, **wkargs):
    os._exit(80)