MercurialIncomingHook Class

Summary

This MercurialHookBase descendant implements the code necessary to handle the "incoming" hook: This is run once for each new changeset that is brought into the repository from elsewhere.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Hooks
Base Types
graph TD Base0["MercurialHookBase"]-->Type click Base0 "/Cake.Hg/api/Mercurial.Hooks/MercurialHookBase" Base1["object"]-->Base0 Type["MercurialIncomingHook"] class Type type-node

Syntax

public class MercurialIncomingHook : MercurialHookBase

Constructors

Properties

Name Value Summary
Repository Repository
Gets the Repository the hook is executing in.
Inherited from MercurialHookBase
Revision RevSpec
Gets the RevSpec of the changeset that was brought into the repository.
Source string
Gets the source of the operation.
Url string
Gets the source of the incoming changesets.

Methods

Name Value Summary
LoadRevision(string) RevSpec
Loads a RevSpec from a hash specified by an environment variable.
Inherited from MercurialHookBase
static