MercurialControllingHookBase.

TerminateHookAndCancelCommand(int) Method

Summary

Terminates the hook and cancels the Mercurial command being executed, with the specified exit code and no message.

Syntax

public 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