BuildMaster SDK Reference
Version:

Branch(string sourcePath, string toPath, string comment) Method

Copies the specified sourcePath to the specified toPath and leaves the specified comment if the comment is not null (Nothing in Visual Basic).

Syntax

public abstract void Branch(string sourcePath, string toPath, string comment)

Parameters

sourcePath
Type: string

Path to copy from.

toPath
Type: string

Path to copy to.

comment
Type: string

Comment for the copy operation; may be null (Nothing in Visual Basic) if RequiresComment returns false.

Exceptions

System.ArgumentNullException

sourcePath or toPath is null (Nothing in Visual Basic).