C# 클래스 Mercurial.Versions.MercurialVersionBase

This class, and its descendants implements version-specific features of Mercurial.
파일 보기 프로젝트 열기: TargetProcess/Target-Process-Plugins 1 사용 예제들

공개 메소드들

메소드 설명
AssignCurrent ( System.Version version ) : void

This method finds the correct MercurialVersionBase implementation, based on the version.

GetImplementationFor ( System.Version version ) : MercurialVersionBase

This method finds the correct MercurialVersionBase implementation, based on the version.

MergeToolOption ( string tool ) : IEnumerable

This method produces a collection of options and arguments to pass on the command line to specify the merge tool.

WaitForLocksToDissipate ( string repositoryPath ) : 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.

메소드 상세

AssignCurrent() 공개 정적인 메소드

This method finds the correct MercurialVersionBase implementation, based on the version.
/// Internal error, unable to find correct implementation for Mercurial version . ///
public static AssignCurrent ( System.Version version ) : void
version System.Version /// The version to find the correct implementation for. ///
리턴 void

GetImplementationFor() 공개 정적인 메소드

This method finds the correct MercurialVersionBase implementation, based on the version.
/// is null. ///
public static GetImplementationFor ( System.Version version ) : MercurialVersionBase
version System.Version /// The version to find the correct implementation for. ///
리턴 MercurialVersionBase

MergeToolOption() 공개 메소드

This method produces a collection of options and arguments to pass on the command line to specify the merge tool.
public MergeToolOption ( string tool ) : IEnumerable
tool string /// The merge tool to generate options and arguments for. ///
리턴 IEnumerable

WaitForLocksToDissipate() 공개 메소드

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.
/// is null or empty. ///
public WaitForLocksToDissipate ( string repositoryPath ) : void
repositoryPath string /// The path to the repository that the locks exists in. ///
리턴 void