RepositorySummary.

Branch Property

Summary

Gets the name of the branch the current working folder is on.
Assembly
Mercurial.Net.dll
Namespace
Mercurial
Containing Type
RepositorySummary

Syntax

public string Branch { get; }

Remarks

Note that after executing a hg branch XYZ command, the summary command will report XYZ, and not the branch name the working folder had before any changes were done to it. There is apparently no way to know if the name reported is the old or the new name.

Value

Type Description
string