C# Класс Sep.Git.Tfs.Core.GitTfsRemote

Наследование: IGitTfsRemote
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Apply Sep.Git.Tfs.Core.LogEntry
Apply Sep.Git.Tfs.Core.LogEntry
Apply Sep.Git.Tfs.Core.LogEntry
BuildCommitMessage string
BuildEntryDictionary GitObject>.Dictionary
CheckSubtree bool
Checkin int
CheckinTool int
Commit string
CopyTree Sep.Git.Tfs.Core.LogEntry
DoGcIfNeeded void
ExtractGitBranchNameFromTfsRepositoryPath string
FetchChangesets IEnumerable
FindMergedRemoteAndFetch string
FindOrInitTfsRemoteOfChangeset IGitTfsRemote
FindRemoteAndFetch string
FindRootRemoteAndFetch string
GetLatestChangeset ITfsChangeset
GetLatestChangesetId int
GetTfsChangesetById TfsChangesetInfo
InitHistory void
InitTfsBranch IGitTfsRemote
InitTfsRemoteOfChangeset IGitTfsRemote
IsIgnored bool
IsInDotGit bool
LogCurrentMapping void
MatchesTfsUrl bool
PendChangesToWorkspace void
ProcessChangeset string
ProcessMergeChangeset bool
Shelve void
TranslateWorkItems IEnumerable
WithWorkspace void
quickFetch void

Открытые методы

Метод Описание
Checkin ( string head, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null ) : int
Checkin ( string head, string parent, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null ) : int
CheckinTool ( string head, TfsChangesetInfo parentChangeset ) : int
CleanupWorkspace ( ) : void
CleanupWorkspaceDirectory ( ) : void
DeleteShelveset ( string shelvesetName ) : void
EnsureTfsAuthenticated ( ) : void
Fetch ( bool stopOnFailMergeCommit = false, int lastChangesetIdToFetch = -1, IRenameResult renameResult = null ) : IFetchResult
FetchWithMerge ( int mergeChangesetId, bool stopOnFailMergeCommit = false, IRenameResult renameResult = null ) : IFetchResult
FetchWithMerge ( int mergeChangesetId, bool stopOnFailMergeCommit = false, int lastChangesetIdToFetch = -1, IRenameResult renameResult = null ) : IFetchResult
GetChangeset ( int changesetId ) : ITfsChangeset
GetInitialChangeset ( ) : int?
GetPathInGitRepo ( string tfsPath ) : string
GitTfsRemote ( Sep.Git.Tfs.Core.RemoteInfo info, IGitRepository repository, RemoteOptions remoteOptions, Globals globals, ITfsHelper tfsHelper, ConfigProperties properties ) : System
HasShelveset ( string shelvesetName ) : bool
InitBranch ( RemoteOptions remoteOptions, string tfsRepositoryPath, int rootChangesetId, bool fetchParentBranch, string gitBranchNameExpected = null, IRenameResult renameResult = null ) : IGitTfsRemote
IsIgnoringBranches ( ) : bool
MatchesUrlAndRepositoryPath ( string tfsUrl, string tfsRepositoryPath ) : bool
QuickFetch ( ) : void
QuickFetch ( int changesetId ) : void
SetInitialChangeset ( int changesetId ) : void
Shelve ( string shelvesetName, string head, TfsChangesetInfo parentChangeset, CheckinOptions options, bool evaluateCheckinPolicies ) : void
ShouldSkip ( string path ) : bool
Unshelve ( string shelvesetOwner, string shelvesetName, string destinationBranch, Action ignorableErrorHandler, bool force ) : void
UpdateTfsHead ( string commitHash, int changesetId ) : void

Приватные методы

Метод Описание
Apply ( string parent, ITfsChangeset changeset, Action ignorableErrorHandler ) : Sep.Git.Tfs.Core.LogEntry
Apply ( string parent, ITfsChangeset changeset, GitObject>.IDictionary entries ) : Sep.Git.Tfs.Core.LogEntry
Apply ( string parent, ITfsChangeset changeset, GitObject>.IDictionary entries, Action ignorableErrorHandler ) : Sep.Git.Tfs.Core.LogEntry
BuildCommitMessage ( string tfsCheckinComment, int changesetId ) : string
BuildEntryDictionary ( ) : GitObject>.Dictionary
CheckSubtree ( ) : bool
Checkin ( string head, string parent, ITfsWorkspace workspace, CheckinOptions options, string sourceTfsPath ) : int
CheckinTool ( string head, TfsChangesetInfo parentChangeset, ITfsWorkspace workspace ) : int
Commit ( Sep.Git.Tfs.Core.LogEntry logEntry ) : string
CopyTree ( string lastCommit, ITfsChangeset changeset ) : Sep.Git.Tfs.Core.LogEntry
DoGcIfNeeded ( ) : void
ExtractGitBranchNameFromTfsRepositoryPath ( string tfsRepositoryPath ) : string
FetchChangesets ( bool byLots, int lastVersion = -1 ) : IEnumerable
FindMergedRemoteAndFetch ( int parentChangesetId, bool stopOnFailMergeCommit, string &omittedParentBranch ) : string
FindOrInitTfsRemoteOfChangeset ( int parentChangesetId, bool mergeChangeset, IRenameResult renameResult, string &omittedParentBranch ) : IGitTfsRemote
FindRemoteAndFetch ( int parentChangesetId, bool stopOnFailMergeCommit, bool mergeChangeset, IRenameResult renameResult, string &omittedParentBranch ) : string
FindRootRemoteAndFetch ( int parentChangesetId, IRenameResult renameResult = null ) : string
GetLatestChangeset ( ) : ITfsChangeset
GetLatestChangesetId ( ) : int
GetTfsChangesetById ( int id ) : TfsChangesetInfo
InitHistory ( ) : void
InitTfsBranch ( RemoteOptions remoteOptions, string tfsRepositoryPath, int rootChangesetId = -1, bool fetchParentBranch = false, string gitBranchNameExpected = null, IRenameResult renameResult = null ) : IGitTfsRemote
InitTfsRemoteOfChangeset ( IBranchObject tfsBranch, int parentChangesetId, IRenameResult renameResult = null ) : IGitTfsRemote
IsIgnored ( string path ) : bool
IsInDotGit ( string path ) : bool
LogCurrentMapping ( ) : void
MatchesTfsUrl ( string tfsUrl ) : bool
PendChangesToWorkspace ( string head, string parent, ITfsWorkspaceModifier workspace ) : void
ProcessChangeset ( ITfsChangeset changeset, Sep.Git.Tfs.Core.LogEntry log ) : string
ProcessMergeChangeset ( ITfsChangeset changeset, bool stopOnFailMergeCommit, string &parentCommit ) : bool
Shelve ( string shelvesetName, string head, TfsChangesetInfo parentChangeset, CheckinOptions options, bool evaluateCheckinPolicies, ITfsWorkspace workspace ) : void
TranslateWorkItems ( IEnumerable workItemsOriginal ) : IEnumerable
WithWorkspace ( TfsChangesetInfo parentChangeset, Action action ) : void
quickFetch ( ITfsChangeset changeset ) : void

Описание методов

Checkin() публичный Метод

public Checkin ( string head, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null ) : int
head string
parentChangeset TfsChangesetInfo
options Sep.Git.Tfs.Commands.CheckinOptions
sourceTfsPath string
Результат int

Checkin() публичный Метод

public Checkin ( string head, string parent, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null ) : int
head string
parent string
parentChangeset TfsChangesetInfo
options Sep.Git.Tfs.Commands.CheckinOptions
sourceTfsPath string
Результат int

CheckinTool() публичный Метод

public CheckinTool ( string head, TfsChangesetInfo parentChangeset ) : int
head string
parentChangeset TfsChangesetInfo
Результат int

CleanupWorkspace() публичный Метод

public CleanupWorkspace ( ) : void
Результат void

CleanupWorkspaceDirectory() публичный Метод

public CleanupWorkspaceDirectory ( ) : void
Результат void

DeleteShelveset() публичный Метод

public DeleteShelveset ( string shelvesetName ) : void
shelvesetName string
Результат void

EnsureTfsAuthenticated() публичный Метод

public EnsureTfsAuthenticated ( ) : void
Результат void

Fetch() публичный Метод

public Fetch ( bool stopOnFailMergeCommit = false, int lastChangesetIdToFetch = -1, IRenameResult renameResult = null ) : IFetchResult
stopOnFailMergeCommit bool
lastChangesetIdToFetch int
renameResult IRenameResult
Результат IFetchResult

FetchWithMerge() публичный Метод

public FetchWithMerge ( int mergeChangesetId, bool stopOnFailMergeCommit = false, IRenameResult renameResult = null ) : IFetchResult
mergeChangesetId int
stopOnFailMergeCommit bool
renameResult IRenameResult
Результат IFetchResult

FetchWithMerge() публичный Метод

public FetchWithMerge ( int mergeChangesetId, bool stopOnFailMergeCommit = false, int lastChangesetIdToFetch = -1, IRenameResult renameResult = null ) : IFetchResult
mergeChangesetId int
stopOnFailMergeCommit bool
lastChangesetIdToFetch int
renameResult IRenameResult
Результат IFetchResult

GetChangeset() публичный Метод

public GetChangeset ( int changesetId ) : ITfsChangeset
changesetId int
Результат ITfsChangeset

GetInitialChangeset() публичный Метод

public GetInitialChangeset ( ) : int?
Результат int?

GetPathInGitRepo() публичный Метод

public GetPathInGitRepo ( string tfsPath ) : string
tfsPath string
Результат string

GitTfsRemote() публичный Метод

public GitTfsRemote ( Sep.Git.Tfs.Core.RemoteInfo info, IGitRepository repository, RemoteOptions remoteOptions, Globals globals, ITfsHelper tfsHelper, ConfigProperties properties ) : System
info Sep.Git.Tfs.Core.RemoteInfo
repository IGitRepository
remoteOptions Sep.Git.Tfs.Commands.RemoteOptions
globals Globals
tfsHelper ITfsHelper
properties ConfigProperties
Результат System

HasShelveset() публичный Метод

public HasShelveset ( string shelvesetName ) : bool
shelvesetName string
Результат bool

InitBranch() публичный Метод

public InitBranch ( RemoteOptions remoteOptions, string tfsRepositoryPath, int rootChangesetId, bool fetchParentBranch, string gitBranchNameExpected = null, IRenameResult renameResult = null ) : IGitTfsRemote
remoteOptions Sep.Git.Tfs.Commands.RemoteOptions
tfsRepositoryPath string
rootChangesetId int
fetchParentBranch bool
gitBranchNameExpected string
renameResult IRenameResult
Результат IGitTfsRemote

IsIgnoringBranches() публичный Метод

public IsIgnoringBranches ( ) : bool
Результат bool

MatchesUrlAndRepositoryPath() публичный Метод

public MatchesUrlAndRepositoryPath ( string tfsUrl, string tfsRepositoryPath ) : bool
tfsUrl string
tfsRepositoryPath string
Результат bool

QuickFetch() публичный Метод

public QuickFetch ( ) : void
Результат void

QuickFetch() публичный Метод

public QuickFetch ( int changesetId ) : void
changesetId int
Результат void

SetInitialChangeset() публичный Метод

public SetInitialChangeset ( int changesetId ) : void
changesetId int
Результат void

Shelve() публичный Метод

public Shelve ( string shelvesetName, string head, TfsChangesetInfo parentChangeset, CheckinOptions options, bool evaluateCheckinPolicies ) : void
shelvesetName string
head string
parentChangeset TfsChangesetInfo
options Sep.Git.Tfs.Commands.CheckinOptions
evaluateCheckinPolicies bool
Результат void

ShouldSkip() публичный Метод

public ShouldSkip ( string path ) : bool
path string
Результат bool

Unshelve() публичный Метод

public Unshelve ( string shelvesetOwner, string shelvesetName, string destinationBranch, Action ignorableErrorHandler, bool force ) : void
shelvesetOwner string
shelvesetName string
destinationBranch string
ignorableErrorHandler Action
force bool
Результат void

UpdateTfsHead() публичный Метод

public UpdateTfsHead ( string commitHash, int changesetId ) : void
commitHash string
changesetId int
Результат void