Summary
This
MercurialHookBase descendant implements the
code necessary to handle the "outgoing" hook:
This is run after sending changes from local repository to another.
- 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["MercurialOutgoingHook"]
class Type type-node
Syntax
public class MercurialOutgoingHook : MercurialHookBase
Constructors
| Name | Summary |
|---|---|
| Mercurial |
Properties
| Name | Value | Summary |
|---|---|---|
| FirstRevision | RevSpec |
Gets the
RevSpec of the first changeset that was sent.
|
| Repository | Repository |
Gets the
Repository the hook is executing in.
Inherited from MercurialHookBase
|
| Source | string |
Gets the source of the operation.
|
| Url | string |
Gets the url of the remote repository, if known.
|
Methods
| Name | Value | Summary |
|---|---|---|
| LoadRevision |
RevSpec |
Loads a
RevSpec from a hash specified by
an environment variable.
Inherited from MercurialHookBase
static
|