view tests/helper-killhook.py @ 49696:0acefbbcc82a

path: add a method to retrieve a "push variant" of a path This gets you the same path, but using the `pushurl` as destination. This opens the way for a lot of different improvements, the one which interests us is having `peer` objects aware of the `path` they came from.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 01:32:24 +0100
parents 21ed126bab53
children
line wrap: on
line source

import os


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