Repository.

Branch(string, BranchCommand) Method

Summary

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

Syntax

public string Branch(string name, BranchCommand command = null)

Parameters

Name Type Description
name string The name to use for the new branch.
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.