C# Class Sep.Git.Tfs.Core.DerivedGitTfsRemote

Inheritance: IGitTfsRemote
Exibir arquivo Open project: git-tfs/git-tfs Class Usage Examples

Private Properties

Property Type Description
Equals bool

Public Methods

Method Description
Checkin ( string treeish, 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
DerivedGitTfsRemote ( string tfsUrl, string tfsRepositoryPath ) : System
EnsureTfsAuthenticated ( ) : void
Equals ( object obj ) : bool
Fetch ( bool stopOnFailMergeCommit = false, int lastChangesetIdToFetch = -1, IRenameResult renameResult = null ) : IFetchResult
FetchWithMerge ( int mergeChangesetId, bool stopOnFailMergeCommit = false, IRenameResult renameResult = null ) : IFetchResult
GetChangeset ( int changesetId ) : ITfsChangeset
GetHashCode ( ) : int
GetInitialChangeset ( ) : int?
GetPathInGitRepo ( string tfsPath ) : string
HasShelveset ( string shelvesetName ) : bool
InitBranch ( RemoteOptions remoteOptions, string tfsRepositoryPath, int shaRootChangesetId, bool fetchParentBranch, string gitBranchNameExpected = null, IRenameResult renameResult = null ) : IGitTfsRemote
MatchesUrlAndRepositoryPath ( string tfsUrl, string tfsRepositoryPath ) : bool
Merge ( string sourceTfsPath, string targetTfsPath ) : void
QuickFetch ( ) : void
QuickFetch ( int changesetId ) : void
SetInitialChangeset ( int changesetId ) : void
Shelve ( string shelvesetName, string treeish, TfsChangesetInfo parentChangeset, CheckinOptions options, bool evaluateCheckinPolicies ) : void
ShouldSkip ( string path ) : bool
Unshelve ( string a, string b, string c, Action h, bool force ) : void
UpdateTfsHead ( string commitHash, int changesetId ) : void
operator ( ) : bool

Private Methods

Method Description
Equals ( DerivedGitTfsRemote other ) : bool

Method Details

Checkin() public method

public Checkin ( string treeish, TfsChangesetInfo parentChangeset, CheckinOptions options, string sourceTfsPath = null ) : int
treeish string
parentChangeset TfsChangesetInfo
options Sep.Git.Tfs.Commands.CheckinOptions
sourceTfsPath string
return int

Checkin() public method

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
return int

CheckinTool() public method

public CheckinTool ( string head, TfsChangesetInfo parentChangeset ) : int
head string
parentChangeset TfsChangesetInfo
return int

CleanupWorkspace() public method

public CleanupWorkspace ( ) : void
return void

CleanupWorkspaceDirectory() public method

public CleanupWorkspaceDirectory ( ) : void
return void

DeleteShelveset() public method

public DeleteShelveset ( string shelvesetName ) : void
shelvesetName string
return void

DerivedGitTfsRemote() public method

public DerivedGitTfsRemote ( string tfsUrl, string tfsRepositoryPath ) : System
tfsUrl string
tfsRepositoryPath string
return System

EnsureTfsAuthenticated() public method

public EnsureTfsAuthenticated ( ) : void
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Fetch() public method

public Fetch ( bool stopOnFailMergeCommit = false, int lastChangesetIdToFetch = -1, IRenameResult renameResult = null ) : IFetchResult
stopOnFailMergeCommit bool
lastChangesetIdToFetch int
renameResult IRenameResult
return IFetchResult

FetchWithMerge() public method

public FetchWithMerge ( int mergeChangesetId, bool stopOnFailMergeCommit = false, IRenameResult renameResult = null ) : IFetchResult
mergeChangesetId int
stopOnFailMergeCommit bool
renameResult IRenameResult
return IFetchResult

GetChangeset() public method

public GetChangeset ( int changesetId ) : ITfsChangeset
changesetId int
return ITfsChangeset

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInitialChangeset() public method

public GetInitialChangeset ( ) : int?
return int?

GetPathInGitRepo() public method

public GetPathInGitRepo ( string tfsPath ) : string
tfsPath string
return string

HasShelveset() public method

public HasShelveset ( string shelvesetName ) : bool
shelvesetName string
return bool

InitBranch() public method

public InitBranch ( RemoteOptions remoteOptions, string tfsRepositoryPath, int shaRootChangesetId, bool fetchParentBranch, string gitBranchNameExpected = null, IRenameResult renameResult = null ) : IGitTfsRemote
remoteOptions Sep.Git.Tfs.Commands.RemoteOptions
tfsRepositoryPath string
shaRootChangesetId int
fetchParentBranch bool
gitBranchNameExpected string
renameResult IRenameResult
return IGitTfsRemote

MatchesUrlAndRepositoryPath() public method

public MatchesUrlAndRepositoryPath ( string tfsUrl, string tfsRepositoryPath ) : bool
tfsUrl string
tfsRepositoryPath string
return bool

Merge() public method

public Merge ( string sourceTfsPath, string targetTfsPath ) : void
sourceTfsPath string
targetTfsPath string
return void

QuickFetch() public method

public QuickFetch ( ) : void
return void

QuickFetch() public method

public QuickFetch ( int changesetId ) : void
changesetId int
return void

SetInitialChangeset() public method

public SetInitialChangeset ( int changesetId ) : void
changesetId int
return void

Shelve() public method

public Shelve ( string shelvesetName, string treeish, TfsChangesetInfo parentChangeset, CheckinOptions options, bool evaluateCheckinPolicies ) : void
shelvesetName string
treeish string
parentChangeset TfsChangesetInfo
options Sep.Git.Tfs.Commands.CheckinOptions
evaluateCheckinPolicies bool
return void

ShouldSkip() public method

public ShouldSkip ( string path ) : bool
path string
return bool

Unshelve() public method

public Unshelve ( string a, string b, string c, Action h, bool force ) : void
a string
b string
c string
h Action
force bool
return void

UpdateTfsHead() public method

public UpdateTfsHead ( string commitHash, int changesetId ) : void
commitHash string
changesetId int
return void

operator() public static method

public static operator ( ) : bool
return bool