setParentBranchName method

Class: EyesPlatform: ImagesLanguage: JavaScript SDK:

Use this method to set the parent branch from which newly created branches get their initial baseline.

The newly created branch inherits the baselines and annotations of the parent. If no parent is defined, then the new branch will inherit the baselines from the default branch.

Syntax


eyes.setParentBranchName(parentBranchName);

Parameters

parentBranchName
Type:string
The branch name. This may be any string.

Return value

Type: