Repository.

Branch(BranchCommand) Method

Summary

Gets or sets the current branch name.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
Repository

Syntax

public string Branch(BranchCommand command = null)

Parameters

Name Type Description
command BranchCommand Any extra options to the branch method, or null for default options.

Return Value

Type Description
string The current or new branch name.