If the value for a command contains one or more spaces, enclose the value with quotation marks (" "). For example, if a view path name contains a space, such as Test Repository, and you specify the following, the process fails:
... -vp \Test Repository
Instead, enclose the value in quotation marks, as follows:
... -vp "\Test Repository"
On the command line, the shell interprets the backslash (\) as a quotation mark if a quotation mark follows the backslash (\"). This sequence leads to parsing errors; other CA Harvest SCM errors may occur depending on the order of the arguments on the command line. To avoid this confusion, replace a single backslash with double backslashes preceding a quotation mark, or do not use a single backslash preceding a quotation mark.
For example, instead of:
-vp "\Test Repository\"
use:
-vp "\Test Repository\\"
or
-vp "\Test Repository"
Command line parameters such as -vp "\Test Repository\" in an input file, when using option -i or -di, will be parsed correctly.
Note: CA Harvest SCM does not interpret the backslash (\) as a special character.
On UNIX or Linux, view paths that contain subsequent paths must be enclosed in quotation marks even though they contain no spaces. For example:
-vp "\Testrepository\path1"
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|