The option -cr is used with hrepmngr to create an empty path, and has the following syntax:
hrepmngr -cr -rp path {options}
(Required) Specifies to create the repository or path.
(Required) Specifies the CA Harvest SCM broker name.
(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.
(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.
(Required) Specifies the repository path.
(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
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|