How Does the Hsv Command "-wp" Option Work?
search cancel

How Does the Hsv Command "-wp" Option Work?

book

Article ID: 191844

calendar_today

Updated On: 11-15-2023

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

My \SampleRepository is pre-loaded with the contents of %CA_SCM_HOME%\Sample folder.
 
The HSV command I executed is:
hsv -b <brokername> -prompt -en "SampleProject" -st "Development" -vp "\SampleRepository" -s "*.*" -wp "include" -ic -io a -iv lv -it at -ib tb -id a -o hsv.log –wts
 
The resulting hsv.log file shows:
-------------------5/28/2020 11:16:44 AM--------------------
I00060040: New connection with Broker <brokername> established.
hsv has been executed successfully.
 
If I take out the “-wp” option, the command works as expected
hsv -b <brokername> -prompt -en "SampleProject" -st "Development" -vp "\SampleRepository" -s "*.*" -io a -iv lv -it at -ib tb -id a -o hsv.log -wts
 
The resulting hsv.log file shows
-------------------5/28/2020 11:17:45 AM--------------------
I00060040: New connection with Broker <brokername> established.
Name    Path    Version Tag     Data Size       Package Creator Created On      Modifier        Modified        File Modified On
----------------------------------------------------------------------------------------------------
CHANGESI.C      \SampleRepository\SRC   1       R       1687    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:35:36
CIRCLE.C        \SampleRepository\SRC   2       R       2022    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     05-18-2020;09:49:45
DEFN.H  \SampleRepository\SRC   1       R       3260    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;00:00:30
DXY2PS.C        \SampleRepository\SRC\DXY       1       R       1864    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:35:42
DXY2PS.C        \SampleRepository\SRC   1       R       1864    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:35:42
DXY2PS.EXE      \SampleRepository\EXE   1       R       49514   MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     04-09-1993;21:42:58
DXY2PS.MK       \SampleRepository\SRC\DXY       1       R       534     MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;19:39:56
DXY2PS.TL       \SampleRepository\SRC\DXY       1       R       250     MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:30:16
DXY2PS.TXT      \SampleRepository\DOCS  1       R       2887    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     04-09-1993;21:42:22
DXYCOM.C        \SampleRepository\SRC   1       R       2579    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:35:44
END_DRAW.C      \SampleRepository\SRC   1       R       224     MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:35:52
EXT.H   \SampleRepository\SRC   1       R       2945    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;00:00:34
GETOPT.C        \SampleRepository\SRC   1       R       1150    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:35:56
GETVAL.C        \SampleRepository\SRC   1       R       1198    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     08-09-1989;01:35:58
HPGL2PS.C       \SampleRepository\SRC\HPGL      1       R       2801    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:02
HPGL2PS.EXE     \SampleRepository\EXE   1       R       49694   MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     04-09-1993;21:43:00
HPGL2PS.MK      \SampleRepository\SRC\HPGL      1       R       629     MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;19:35:14
HPGL2PS.TL      \SampleRepository\SRC\HPGL      1       R       290     MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;19:36:56
HPGL2PS.TXT     \SampleRepository\DOCS  1       R       4221    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     04-09-1993;21:42:22
HPGLCOM.C       \SampleRepository\SRC   1       R       13497   MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:06
LINESIZE.C      \SampleRepository\SRC   1       R       322     MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39 08-09-1989;01:36:08
LINETYPE.C      \SampleRepository\SRC   1       R       2890    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:10
MAKEFILE        \SampleRepository\SRC\DXY       1       R       3080    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     09-08-1995;06:17:56
MAKEFILE        \SampleRepository\SRC\HPGL      1       R       3063    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     09-08-1995;06:18:04
MAKEFILE        \SampleRepository\SRC   1       R       3906    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     09-08-1995;06:16:46
MAKEFILE.BAK    \SampleRepository\SRC\DXY       1       R       3095    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     05-20-1994;04:05:10
MAKEFILE.BAK    \SampleRepository\SRC\HPGL      1       R       3078    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     05-20-1994;04:05:28
MAKEFILE.BAK    \SampleRepository\SRC   1       R       3921    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     05-20-1994;04:04:46
MANUALFE.C      \SampleRepository\SRC   1       R       602     MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     05-15-1993;03:40:20
PLOTCOOR.C      \SampleRepository\SRC   1       R       1347    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:16
PLOTDOT.C       \SampleRepository\SRC   1       R       746     MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:18
PLOTINIT.C      \SampleRepository\SRC   1       R       1525    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:20
PLOTPS.C        \SampleRepository\SRC   1       R       1361    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:22
PS_MACRO.C      \SampleRepository\SRC   1       R       4799    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:24
README.TXT      \SampleRepository\DOCS  7       R       5190    MR- 000003      harvest 05-27-2020;12:30:38  harvest    05-27-2020;12:30:38     05-26-2020;12:56:04
RECTANGL.C      \SampleRepository\SRC   1       R       711     MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:26
TEST.HPG        \SampleRepository\TESTDATA\HPGLTEST     1       R       5794    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     04-09-1993;21:44:56
TEST1.DXY       \SampleRepository\TESTDATA\DXYTEST      1       R       255     MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     04-09-1993;21:44:38
TEST1.HPG       \SampleRepository\TESTDATA\HPGLTEST     1       R       1097    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     04-09-1993;21:44:56
TEST3.HPG       \SampleRepository\TESTDATA\HPGLTEST     1       R       1116    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     04-09-1993;21:44:56
TESTPS.BAK      \SampleRepository\SRC   1       R       2035    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     09-08-1995;06:17:30
TESTPS.C        \SampleRepository\SRC   1       R       2035    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     09-08-1995;06:18:10
TEXTPS.C        \SampleRepository\SRC   1       R       2020    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     05-11-1994;05:31:10
TEXTPS.C        \SampleRepository\TESTDATA      1       R       2014    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     04-09-1993;21:44:26
TICK.C  \SampleRepository\SRC   1       R       1445    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:32
Textps.c        \SampleRepository\OBJ   1       R       2014    MR- 000003      harvest 05-27-2020;12:30:38     harvest 05-27-2020;12:30:38     04-09-1993;21:44:26
USERDEFC.C      \SampleRepository\SRC   1       R       3103    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:34
VIEWPORT.C      \SampleRepository\SRC   1       R       2264    MR- 000003      harvest 05-27-2020;12:30:39     harvest 05-27-2020;12:30:39     08-09-1989;01:36:36
 
hsv has been executed successfully.

Environment

Release : 13.0.3 and up

Component : CA HARVEST SCM CORE FUNCTIONALITY/PROCESS AUTOMATION

Resolution

When using the "-wp ..." option with the hsv command line utility, please also include the option "-it nt".

Additional Information

More information about the hsv command can be found here: hsv Command-Select Version