view tests/helper-killhook.py @ 47290:5e736d2e9703

errors: move Abort earlier, so more exceptions can subclass it I'd like to make at least `InterventionRequired` subclass `Abort` and Python requires the superclass to be defined before the subtype. Differential Revision: https://phab.mercurial-scm.org/D10736
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 18 May 2021 21:58:12 -0700
parents 21ed126bab53
children
line wrap: on
line source

import os


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