IMercurialControllingHook.

TerminateHookAndCancelCommand(int) Method

Summary

Terminates the hook and cancels the Mercurial command being executed, with the specified exit code and no message.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Hooks
Containing Type
IMercurialControllingHook

Syntax

void TerminateHookAndCancelCommand(int exitCode)

Parameters

Name Type Description
exitCode int The exit code to pass back to Mercurial, must be or higher to signal failure. Default is 1.

Return Value

Type Description
void