Summary
This
MercurialHookBase
descendant implements the
code necessary to handle the "update" hook:
This is run after updating the working directory.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
.Hooks - Base Types
-
- object
- MercurialHookBase
graph TD
Base0["MercurialHookBase"]-->Type
click Base0 "/Cake.Hg/api/Mercurial.Hooks/MercurialHookBase"
Base1["object"]-->Base0
Type["MercurialUpdateHook"]
class Type type-node
Syntax
public class MercurialUpdateHook : MercurialHookBase
Constructors
Name | Summary |
---|---|
MercurialUpdateHook |
Properties
Name | Value | Summary |
---|---|---|
IsMerge | bool |
Gets a value indicating whether the current changeset is a merge.
|
LeftParentRevision | RevSpec |
Gets the
RevSpec identifying the left parent of the changeset.
|
Repository | Repository |
Gets the
Repository the hook is executing in.
Inherited from MercurialHookBase
|
RightParentRevision | RevSpec |
Gets the
RevSpec identifying the right parent of the changeset.
|
WasSuccessful | bool |
Gets a value indicating whether the update was successful.
|
Methods
Name | Value | Summary |
---|---|---|
LoadRevision |
RevSpec |
Loads a
RevSpec from a hash specified by
an environment variable.
Inherited from MercurialHookBase
static
|