Summary
This
MercurialControllingHookBase
descendant implements the
code necessary to handle the "post-command" hook:
This is run after the command itself has finished executing.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
.Hooks - Interfaces
- Base Types
graph TD
Base0["MercurialControllingHookBase"]-->Type
click Base0 "/Cake.Hg/api/Mercurial.Hooks/MercurialControllingHookBase"
Base1["MercurialHookBase"]-->Base0
click Base1 "/Cake.Hg/api/Mercurial.Hooks/MercurialHookBase"
Base2["object"]-->Base1
Interface0["IMercurialControllingHook"]-.->Type
click Interface0 "/Cake.Hg/api/Mercurial.Hooks/IMercurialControllingHook"
Type["MercurialPostCommandHook"]
class Type type-node
Syntax
public class MercurialPostCommandHook : MercurialControllingHookBase, IMercurialControllingHook
Constructors
Name | Summary |
---|---|
Mercurial |
Properties
Name | Value | Summary |
---|---|---|
Arguments | Mercurial |
Gets the collection of arguments to the command.
|
ExitCode | int |
Gets the exit code of the Mercurial command that finished executing.
|
Options | Mercurial |
Gets the collection of options to the command.
|
Patterns | Mercurial |
Gets the collection of patterns given to the command.
|
Repository | Repository |
Gets the
Repository the hook is executing in.
Inherited from MercurialHookBase
|
Methods
Name | Value | Summary |
---|---|---|
LoadRevision |
RevSpec |
Loads a
RevSpec from a hash specified by
an environment variable.
Inherited from MercurialHookBase
static
|
Terminate |
void |
Terminates the hook and cancels the Mercurial command being executed, with
an exit code of 1 and no message.
Inherited from Mercurial
|
Terminate |
void |
Terminates the hook and cancels the Mercurial command being executed, with
the specified exit code and no message.
Inherited from Mercurial
|
Terminate |
void |
Terminates the hook and cancels the Mercurial command being executed.
Inherited from Mercurial
|
Terminate |
void |
Terminates the hook program and allows the Mercurial command being hooked to proceed as normal.
Inherited from Mercurial
|