Previous Topic: Update Item or Path PropertyNext Topic: hri Command-Remove Item


Create Empty Path

The option -cr is used with hrepmngr to create an empty path, and has the following syntax:

hrepmngr -cr -rp path {options}
-cr

(Required) Specifies to create the repository or path.

-b name

(Required) Specifies the CA Harvest SCM broker name.

-usr username

(Required, unless -prompt is specified) Specifies the user name for login to the broker. If -usr is defined without -pw, the user is prompted for the password at runtime.

-pw password

(Required, unless -prompt is specified) Specifies the password for login to the broker. To hide the password from being exposed in plain text on the command line, use the ‑prompt option.

-rp name | repositorypath

(Required) Specifies the repository path.

-all

(Optional) Specifies all baseline, an option for create empty path. This option creates the path structure in all existing baselines of the repository.

Example: Create Empty Path

To create an empty path TestPath2 under \TestRep\TestPath1, and update the repository only with the new item path:

hrepmngr -b brokername -usr username -pw password -cr -rp \TestRep\TestPath1\TestPath2