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
- I
Mercurial Controlling Hook
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 |