C# 클래스 Google.Apis.Release.Repositories.Hg

Mercurial repository interface class.
상속: IDisposable
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 메소드들

메소드 설명
AddRemoveFiles ( ) : void

Adds all unversioned files and remove all versioned files.

Combine ( ) : string

Creates the combined path of the specified directories.

Commit ( string message ) : bool

Commits the pending changes.

CreateChangelist ( ) : IEnumerable

Creates a change list by listing all changes made since the last release.

Dispose ( ) : void
Hg ( Uri repositoryUri, string localDir ) : System

Constructs a new repository. It creates a new repository if the folder doesn't exists, otherwise it gets the current status of the repository.

Push ( ) : void

Pushes all committed changes to the server.

Tag ( string tagName, bool force = false ) : void

Adds a tag to the last revision.

Update ( string branchName ) : void

Updates the repository by the branch name.

비공개 메소드들

메소드 설명
RunHg ( string command ) : void

Runs a HG command. In addition it prints errors and messages to trace.

RunHg ( string command, Action errorCallback = null, Action messageCallback = null ) : void

Run a HG command which the specific callback for errors or messages returned from the command.

RunListeningHg ( string command ) : string[]

Runs a HG command and returns all its errors and messages output.

메소드 상세

AddRemoveFiles() 공개 메소드

Adds all unversioned files and remove all versioned files.
public AddRemoveFiles ( ) : void
리턴 void

Combine() 공개 메소드

Creates the combined path of the specified directories.
public Combine ( ) : string
리턴 string

Commit() 공개 메소드

Commits the pending changes.
public Commit ( string message ) : bool
message string Description of the changes/the commit.
리턴 bool

CreateChangelist() 공개 메소드

Creates a change list by listing all changes made since the last release.
public CreateChangelist ( ) : IEnumerable
리턴 IEnumerable

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Hg() 공개 메소드

Constructs a new repository. It creates a new repository if the folder doesn't exists, otherwise it gets the current status of the repository.
public Hg ( Uri repositoryUri, string localDir ) : System
repositoryUri System.Uri The URI of this repository
localDir string The local directory which contains the repository files
리턴 System

Push() 공개 메소드

Pushes all committed changes to the server.
public Push ( ) : void
리턴 void

Tag() 공개 메소드

Adds a tag to the last revision.
public Tag ( string tagName, bool force = false ) : void
tagName string The tag to add.
force bool /// If set to true will overwrite existing labels of this name see "hg help tag" and its --force parameter. ///
리턴 void

Update() 공개 메소드

Updates the repository by the branch name.
public Update ( string branchName ) : void
branchName string
리턴 void