C# Class Sep.Git.Tfs.Commands.InitBranch

Inheritance: GitTfsCommand
显示文件 Open project: pmiossec/git-tfs Class Usage Examples

Public Methods

Method Description
InitBranch ( Globals globals, Help helper, AuthorsFile authors ) : System
Run ( ) : int
Run ( string tfsBranchPath ) : int
Run ( string tfsBranchPath, string gitBranchNameExpected ) : int

Private Methods

Method Description
CloneAll ( string gitRemote ) : int
CloneBranch ( string tfsBranchPath, string gitBranchNameExpected ) : int
FetchRemote ( IGitTfsRemote tfsRemote, bool stopOnFailMergeCommit, bool createBranch = true, IRenameResult renameResult = null, int startingChangesetId = -1 ) : IFetchResult

Fetch changesets from tfsRemote, optionally stopping on failed merge commits.

GetChildBranchesToInit ( IGitTfsRemote defaultRemote ) : List
InitBranchSupportingRename ( string tfsBranchPath, string gitBranchNameExpected, IList creationBranchData, IGitTfsRemote defaultRemote, IFetchResult &fetchResult ) : IGitTfsRemote
InitFromDefaultRemote ( ) : IGitTfsRemote
InitializeBranches ( IGitTfsRemote defaultRemote, List childBranchPaths ) : void
RemoveAlreadyFetchedBranches ( IList creationBranchData, IGitTfsRemote defaultRemote ) : void

Method Details

InitBranch() public method

public InitBranch ( Globals globals, Help helper, AuthorsFile authors ) : System
globals Globals
helper Help
authors Sep.Git.Tfs.Util.AuthorsFile
return System

Run() public method

public Run ( ) : int
return int

Run() public method

public Run ( string tfsBranchPath ) : int
tfsBranchPath string
return int

Run() public method

public Run ( string tfsBranchPath, string gitBranchNameExpected ) : int
tfsBranchPath string
gitBranchNameExpected string
return int