Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbie to PVCS command line

815 views
Skip to first unread message

Ian Fickling

unread,
Jun 2, 2003, 11:52:48 AM6/2/03
to
Running PVCS 5.3.0
Please could someone tell me how to check out a file (with lock)
Please could someone tell me how to check out a file (with no-lock)
Please could someone tell me how to check in a file.

I cant get my hands on any command line doc for pvcs. Does anyone have
a link to an electronic copy.

Thanks
Ian Fickling

Jamie Plessas

unread,
Jun 3, 2003, 2:44:54 AM6/3/03
to
Here is the doc that I used to figure it out

http://www.merant.co.jp/manuals/PVCS/VMP/Pcli.pdf

Here is some commandline I have passed in programs before:
(ignore the #VARIBLES#, I was using these as place holders for variables)

Checkout w/o lock
pcli run -ae"ChkOut.log" -ao"ChkOut.log" -y
get -w -vVersion2.1.1 -a#WORK_DIR# -o -id#USER_ID#:#USER_PW# -pr#PROJECT_DB
# #PROJECT#

Checkout with lock
pcli run -ae"ChkOut.log" -ao"ChkOut.log" -y
get -vVersion2.1.1 -a#WORK_DIR# -o -id#USER_ID#:#USER_PW# -pr#PROJECT_DB#
#PROJECT#

-ae -ao puts the errors and output to a log file,
-y answers yes to any annoying pcli options
-w without lock
-v specifies the Label (if any) that you what to grab
-a specifies where to check it out too
-o tells PVCS that you are checking out somewhere else (other than project
settings)
-id passes the userid and passwd in the following form <username>:<password>
-pr is project


Checkin
pcli run -ae"ChkIn.log" -ao"ChkIn.log" -y put -m"Building-
Version2.1.1" -v"Version2.1.1":* -a#WORK_DIR# -o -bp#PROJECT# -id#USER_ID#:
#USER_PW# -pr#PROJECT_DB# #PROJECT#

these are mostly same
-m is the Message for the checkin log (need this)
-v is version (use this if you are using floating labels)

Another good place to answer questions is Merants SupportNet, you can find
it on their web site. Good Luck

Everyone -this is crap I haven't looked at in years, if there is something
wrong, please correct me -thanks

^_^


"Ian Fickling" <i.fic...@finmatica.com> wrote in message
news:5c5b128b.03060...@posting.google.com...

Andres Alvarez

unread,
Jun 3, 2003, 5:57:59 AM6/3/03
to
i.fic...@finmatica.com (Ian Fickling) wrote in message news:<5c5b128b.03060...@posting.google.com>...

Ian, the commands are "get" and "put". Use them with -H to get help on usage.

0 new messages