view tests/helper-killhook.py @ 48731:f591b377375f

rhg: Make Ui::new falliable, add Ui::new_infallible This allows propagating color configuration errors Differential Revision: https://phab.mercurial-scm.org/D12165
author Simon Sapin <simon.sapin@octobus.net>
date Thu, 10 Feb 2022 12:52:25 +0100
parents 21ed126bab53
children
line wrap: on
line source

import os


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