Summary
This
MercurialHookBase
descendant implements the
code necessary to handle the "pushkey" hook:
This is run after a pushkey (like a bookmark) has been added to the repository.
- 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["MercurialPushKeyHook"]
class Type type-node
Syntax
public class MercurialPushKeyHook : MercurialHookBase
Constructors
Name | Summary |
---|---|
MercurialPushKeyHook |
Properties
Name | Value | Summary |
---|---|---|
Name | string |
Gets the name of the key that was pushed.
|
Namespace | string |
Gets the namespace the key was pushed to.
|
NewValue | string |
Gets the new value of the key.
|
OldValue | string |
Gets the old value of the key.
|
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
|