I am working with branches in Mercurial and I need an update command that uses the name of the branch to update to it. I investigate a little into your code and only found this function:
public UpdateCommand WithAcrossBranches(bool value = true)
I have decided to create a new function that supports updates with branch name using --check <branchname> option.
This is the additional code:
private string _Branch = String.Empty;
public string branch
_Branch = (value ?? String.Empty).Trim();
public UpdateCommand WithBranch(string value)
branch = value;
I would like to know if this modification is needed and if it fits into the
Mercurial.NET current code.
Thanks in advance