Summary
Terminates the hook and cancels the Mercurial command being executed.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
.Hooks - Containing Type
- I
Mercurial Controlling Hook
Syntax
void TerminateHookAndCancelCommand(int exitCode, string message)
Parameters
Name | Type | Description |
---|---|---|
exitCode | int | The exit code to pass back to Mercurial, must be or higher to signal failure. Default is 1. |
message | string | A message to output to the Mercurial console log; or an empty string if no such message is needed. |
Return Value
Type | Description |
---|---|
void |