MercurialVersionBase Class

Summary

This class, and its descendants implements version-specific features of Mercurial.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Versions
Base Types
  • object
Derived Types
graph TD Base0["object"]-->Type Type["MercurialVersionBase"] class Type type-node Type-->Derived0["MercurialVersionPre18"] click Derived0 "/Cake.Hg/api/Mercurial.Versions/MercurialVersionPre18"

Syntax

public class MercurialVersionBase

Constructors

Name Summary
MercurialVersionBase()

Properties

Name Value Summary
Current MercurialVersionBase
Gets the MercurialVersionBase that implements support for the current Mercurial version, as identified by the Client class.
static

Methods

Name Value Summary
AssignCurrent(Version) void
This method finds the correct MercurialVersionBase implementation, based on the version.
static
GetImplementationFor(Version) MercurialVersionBase
This method finds the correct MercurialVersionBase implementation, based on the version.
static
MergeToolOption(string) IEnumerable<T>
This method produces a collection of options and arguments to pass on the command line to specify the merge tool.
WaitForLocksToDissipate(string) void
This method will wait for lingering POSIX-style file locks to dissipate before continuing, to get around problems with such locks in pre-1.8 Mercurial.