C# Class Mercurial.ClientExecutable

This class encapsulates the Mercurial client application.
Mostra file Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Methods

Method Description
RemoteInit ( RemoteInitCommand command ) : void

Initializes a repository remotely, through a server which supports such functionality.

RemoteInit ( string location, RemoteInitCommand command = null ) : void

Initializes a repository remotely, through a server which supports such functionality.

SetClientPath ( string clientPath ) : void

Assigns a specific client path to the Mercurial.Net library, allowing the program that uses the library to select the applicable Mercurial version to use, or even to come bundled with its own Mercurial client files.

Private Methods

Method Description
GetVersion ( ) : System.Version
Initialize ( ) : void

Initializes local data structures from the Mercurial client.

LazyInitialize ( ) : void

Perform lazy on-demand initialization of locating the client and extracting its version.

LocateClient ( ) : string

Attempts to locate the command line client executable.

Method Details

RemoteInit() public static method

Initializes a repository remotely, through a server which supports such functionality.
/// is null. ///
public static RemoteInit ( RemoteInitCommand command ) : void
command RemoteInitCommand /// The options to the init method. ///
return void

RemoteInit() public static method

Initializes a repository remotely, through a server which supports such functionality.
/// is null or empty. /// /// cannot be set before calling this method. ///
public static RemoteInit ( string location, RemoteInitCommand command = null ) : void
location string /// The url of the repository to initialize remotely. ///
command RemoteInitCommand /// Any extra options to the init method, or null for default options. ///
return void

SetClientPath() public static method

Assigns a specific client path to the Mercurial.Net library, allowing the program that uses the library to select the applicable Mercurial version to use, or even to come bundled with its own Mercurial client files.
/// is null or empty. /// /// does not point to the Mercurial executable. ///
public static SetClientPath ( string clientPath ) : void
clientPath string /// The full path to the folder and file that is the /// Mercurial command line executable that should be used. ///
return void