MercurialHookBase.

LoadRevision(string) Method

Summary

Loads a RevSpec from a hash specified by an environment variable.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Hooks
Containing Type
MercurialHookBase

Syntax

protected static RevSpec LoadRevision(string environmentVariableName)

Parameters

Name Type Description
environmentVariableName string The name of the environment variable to load the RevSpec from.

Return Value

Type Description
RevSpec The loaded RevSpec; or null if the environment variable did not exist or contained an empty string.