Summary
This
MercurialHookBase
descendant implements the
code necessary to handle the "tag" hook:
This is run after a tag has been created.
- 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["MercurialTagHook"]
class Type type-node
Syntax
public class MercurialTagHook : MercurialHookBase
Constructors
Name | Summary |
---|---|
MercurialTagHook |
Properties
Name | Value | Summary |
---|---|---|
IsLocal | bool |
Gets a value indicating whether the tag is a local tag or one that has been
added to the repository.
|
Name | string |
Gets the name of the tag that was created.
|
Repository | Repository |
Gets the
Repository the hook is executing in.
Inherited from MercurialHookBase
|
Revision | RevSpec |
Gets the
RevSpec of the changeset that was tagged.
|
Methods
Name | Value | Summary |
---|---|---|
LoadRevision |
RevSpec |
Loads a
RevSpec from a hash specified by
an environment variable.
Inherited from MercurialHookBase
static
|