Property | Type | Description |
---|
Method | Description | |
---|---|---|
BranchAheadOrBehind ( string from, string to ) : |
Determines how many commits the from branch is ahead and/or behind the toBranch.
|
|
CheckOutBranch ( string branch, bool createNew = false ) : void |
Checks out a branch.
|
|
DiffBranches ( string from, string to ) : IEnumerable |
Diffs the two branches.
|
|
DiffFileInTortoise ( string fileName, string endRevision = null, string startRevision = null ) : void |
Diffs the file.
|
|
DiffFileWithGit ( string fileName, string revision ) : string |
Diffs a file against the specified revision using git.
|
|
GetAbsolutePath ( string path ) : string |
Converts a relative path to an absolute path relative to the solution.
|
|
GetCurrentBranch ( ) : string |
Gets the current branch clean of any operation status.
|
|
GetHeadRevisionHash ( string branchName = null ) : string |
Gets the latest revision for the specified branch (defaults to current branch).
|
|
GetLastCommitMessage ( ) : string |
Gets the last commit message.
|
|
GetWorkingDirectory ( ) : string |
Gets the current working directory.
|
|
IsMerging ( ) : bool |
Determines whether this branch is merging.
|
|
ParseGitStatus ( string status ) : IList |
Parses git status into a list of files.
|
|
RunGitCommand ( string command, bool wait = false, bool silent = false ) : |
Runs a tortoiseGit command.
|
|
RunGitTfs ( string command, bool wait = false, bool silent = false ) : string |
Runs a command in the git tfs commandline environment.
|
|
RunTortoise ( string command ) : void |
Runs a tortoiseGit command.
|
|
SccHelperService ( SccProviderService sccProvider ) : System |
Initializes a new instance of the SccHelperService class.
|
|
WorkingDirectoryClean ( ) : bool |
Gets the current working directory.
|
public static BranchAheadOrBehind ( string from, string to ) : |
||
from | string | From branch. |
to | string | To branch. |
return |
public CheckOutBranch ( string branch, bool createNew = false ) : void | ||
branch | string | The branch. |
createNew | bool | if set to |
return | void |
public static DiffBranches ( string from, string to ) : IEnumerable |
||
from | string | From branch. |
to | string | To branch. |
return | IEnumerable |
public DiffFileInTortoise ( string fileName, string endRevision = null, string startRevision = null ) : void | ||
fileName | string | Name of the file. |
endRevision | string | To revision. |
startRevision | string | From revision. |
return | void |
public DiffFileWithGit ( string fileName, string revision ) : string | ||
fileName | string | Name of the file. |
revision | string | The revision. |
return | string |
public static GetAbsolutePath ( string path ) : string | ||
path | string | The path. |
return | string |
public GetHeadRevisionHash ( string branchName = null ) : string | ||
branchName | string | Name of the branch. |
return | string |
public ParseGitStatus ( string status ) : IList |
||
status | string | The status. |
return | IList |
public static RunGitCommand ( string command, bool wait = false, bool silent = false ) : |
||
command | string | The command. |
wait | bool | if set to |
silent | bool | if set to |
return |
public static RunGitTfs ( string command, bool wait = false, bool silent = false ) : string | ||
command | string | The command. |
wait | bool | waits for the process to exit before continuing execution. |
silent | bool | if set to |
return | string |
public RunTortoise ( string command ) : void | ||
command | string | The command. |
return | void |
public SccHelperService ( SccProviderService sccProvider ) : System | ||
sccProvider | SccProviderService | The SCC provider. |
return | System |