C# Class Tp.Mercurial.VersionControlSystem.MercurialClient

Mostra file Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Methods

Method Description
GetAfterTillHead ( RevisionId revisionId, int pageSize ) : IEnumerable
GetCommit ( RevisionId id ) : Changeset
GetFileContent ( Changeset commit, string path ) : string
GetFromAndBefore ( RevisionId fromRevision, RevisionId toRevision, int pageSize ) : IEnumerable
GetFromTillHead ( System.DateTime from, int pageSize ) : IEnumerable
GetParentCommit ( Changeset commit ) : Changeset
GetRevisions ( RevisionId fromChangeset, RevisionId toChangeset ) : Tp.SourceControl.VersionControlSystem.RevisionInfo[]
MercurialClient ( ISourceControlConnectionSettingsSource settings, IStorage folder ) : System
RetrieveAuthors ( DateRange dateRange ) : string[]

Private Methods

Method Description
GetClient ( ISourceControlConnectionSettingsSource settings ) : Mercurial.Repository
GetLocalRepository ( ISourceControlConnectionSettingsSource settings ) : MercurialRepositoryFolder
IsRepositoryUriChanged ( MercurialRepositoryFolder repositoryFolder, ISourceControlConnectionSettingsSource settings ) : bool

Method Details

GetAfterTillHead() public method

public GetAfterTillHead ( RevisionId revisionId, int pageSize ) : IEnumerable
revisionId Tp.SourceControl.VersionControlSystem.RevisionId
pageSize int
return IEnumerable

GetCommit() public method

public GetCommit ( RevisionId id ) : Changeset
id Tp.SourceControl.VersionControlSystem.RevisionId
return Changeset

GetFileContent() public method

public GetFileContent ( Changeset commit, string path ) : string
commit Changeset
path string
return string

GetFromAndBefore() public method

public GetFromAndBefore ( RevisionId fromRevision, RevisionId toRevision, int pageSize ) : IEnumerable
fromRevision Tp.SourceControl.VersionControlSystem.RevisionId
toRevision Tp.SourceControl.VersionControlSystem.RevisionId
pageSize int
return IEnumerable

GetFromTillHead() public method

public GetFromTillHead ( System.DateTime from, int pageSize ) : IEnumerable
from System.DateTime
pageSize int
return IEnumerable

GetParentCommit() public method

public GetParentCommit ( Changeset commit ) : Changeset
commit Changeset
return Changeset

GetRevisions() public method

public GetRevisions ( RevisionId fromChangeset, RevisionId toChangeset ) : Tp.SourceControl.VersionControlSystem.RevisionInfo[]
fromChangeset Tp.SourceControl.VersionControlSystem.RevisionId
toChangeset Tp.SourceControl.VersionControlSystem.RevisionId
return Tp.SourceControl.VersionControlSystem.RevisionInfo[]

MercurialClient() public method

public MercurialClient ( ISourceControlConnectionSettingsSource settings, IStorage folder ) : System
settings ISourceControlConnectionSettingsSource
folder IStorage
return System

RetrieveAuthors() public method

public RetrieveAuthors ( DateRange dateRange ) : string[]
dateRange DateRange
return string[]