view tests/helper-killhook.py @ 49786:0bda07f34c01 stable

emitrevision: also check the parents in the availability closure One of the point of having a closure is to gather the logic in it. So we gather the logic. The `parents[:]` part is a bit ugly but will be replaced by better code soon anyway.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 28 Nov 2022 15:59:52 +0100
parents 21ed126bab53
children
line wrap: on
line source

import os


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