MercurialCommitHook Class

Summary

This MercurialHookBase descendant implements the code necessary to handle the "commit" hook: This is run after a new changeset has been created in the local repository.
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["MercurialCommitHook"] class Type type-node

Syntax

public class MercurialCommitHook : MercurialHookBase

Constructors

Name Summary
MercurialCommitHook()

Properties

Name Value Summary
CommittedRevision RevSpec
Gets the RevSpec identifying the revision that was committed.
LeftParentRevision RevSpec
Gets the RevSpec identifying the left parent of the changeset that was committed.
Repository Repository
Gets the Repository the hook is executing in.
Inherited from MercurialHookBase
RightParentRevision RevSpec
Gets the RevSpec identifying the left parent of the changeset that was committed; or null if this is not a merge changeset.

Methods

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