IMercurialControllingHook Interface

Summary

This interface must be implementing by all controlling hooks.
graph TD Type["IMercurialControllingHook"] class Type type-node Type-.->Implementing0["MercurialPrePushKeyHook"] click Implementing0 "/Cake.Hg/api/Mercurial.Hooks/MercurialPrePushKeyHook" Type-.->Implementing1["MercurialPreListKeysHook"] click Implementing1 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreListKeysHook" Type-.->Implementing2["MercurialPreChangegroupHook"] click Implementing2 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreChangegroupHook" Type-.->Implementing3["MercurialPreTagHook"] click Implementing3 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreTagHook" Type-.->Implementing4["MercurialPreTransactionChangegroupHook"] click Implementing4 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreTransactionChangegroupHook" Type-.->Implementing5["MercurialPreUpdateHook"] click Implementing5 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreUpdateHook" Type-.->Implementing6["MercurialPreCommitHook"] click Implementing6 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreCommitHook" Type-.->Implementing7["MercurialPreCommandHook"] click Implementing7 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreCommandHook" Type-.->Implementing8["MercurialPreOutgoingHook"] click Implementing8 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreOutgoingHook" Type-.->Implementing9["MercurialPostCommandHook"] click Implementing9 "/Cake.Hg/api/Mercurial.Hooks/MercurialPostCommandHook" Type-.->Implementing10["MercurialPreTransactionCommitHook"] click Implementing10 "/Cake.Hg/api/Mercurial.Hooks/MercurialPreTransactionCommitHook" Type-.->Implementing11["MercurialControllingHookBase"] click Implementing11 "/Cake.Hg/api/Mercurial.Hooks/MercurialControllingHookBase"

Syntax

public interface IMercurialControllingHook

Methods

Name Value Summary
TerminateHookAndCancelCommand() void
Terminates the hook and cancels the Mercurial command being executed, with an exit code of 1 and no message.
TerminateHookAndCancelCommand(int) void
Terminates the hook and cancels the Mercurial command being executed, with the specified exit code and no message.
TerminateHookAndCancelCommand(int, string) void
Terminates the hook and cancels the Mercurial command being executed.
TerminateHookAndProceed() void
Terminates the hook program and allows the Mercurial command being hooked to proceed as normal.