C# 클래스 Sep.Git.Tfs.Core.GitTfsRemote

상속: IGitTfsRemote
파일 보기 프로젝트 열기: git-tfs/git-tfs 1 사용 예제들

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