The hrnitm command executes the rename item process specified on the command line, or the first rename item process in the current context if no process name is specified. The process definition determines the default behavior and the process access. Other aspects of the process can be specified through command parameters.
This command has the following format:
hrnitm {-b name -en name -st name -vp path -on name -nn name} {-p name} {‑usr username -pw password} [-pn name] [-ot | -ob] [-ur] [-uk] [-de description] [-prompt] [‑i inputfile.txt | -di inputfile.txt] [-eh filename] [-o filename | ‑oa filename] [-arg] [-wts] [-h]
(Required) Specifies the CA Harvest SCM broker name.
(Optional) Specifies the CA Harvest SCM project context. If the project name contains spaces, enclose the name in quotation marks.
(Required) Specifies the name of the state in which the user is operating.
(Required) Specifies the CA Harvest SCM view path that corresponds to the current working directory.
(Required) Specifies the name of the file that is being renamed.
(Required) Specifies the new name of the file that is being renamed.
(Required) Specifies the CA Harvest SCM package name, read from the command line or a signature file.
(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.
(Optional) Specifies a specific process name to invoke if more than one process of the same type exists in the state. If no process name is included in the command, the first process of that type in that state is invoked.
(Optional) Specifies that the new rename item version is to be created on the trunk. This parameter is mutually exclusive with –ob.
Note: This option is only available if the selected or default rename item process allows this operation to be applied on the trunk.
(Optional) Specifies that the new rename item version is to be created on a branch. This parameter is mutually exclusive with –ot.
Note: This option is only available if the selected or default rename item process allows this operation to be applied on a branch.
(Optional) Creates a normal version for the rename item change. If a reserved version already exists in the same package, it is updated as a normal version.
(Optional) Creates a normal version for the rename item change. Another new reserved version is created after the normal version.
(Optional) Specifies a description of the new version created during the rename item process. The description is stored in the database.
(Optional) Specifies the encrypted CA Harvest SCM username-password file name. The file name used with this option contains encrypted username-password credentials and must be generated with the svrenc utility.
Note: -eh overrides -usr and -pw options. -prompt overrides -eh, -usr and -pw options.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|