CLC FRO LINUX ENVIRONMENT

If you are having a problem using Vault, post a message here.
Post Reply
tatfersht
Posts: 3
Joined: Tue Jun 19, 2012 8:08 am

CLC FRO LINUX ENVIRONMENT

Post by tatfersht » Tue Jun 19, 2012 9:37 am

I just started to use Vault. I would like to create some build script on one of our Linux boxes. Our Vault repository locates on Windows env. I found that you have some command line client which I can install on Linux. I would like to know more about command-line client to Vault. Where to grep file for installation, how to configure with main Vault repository. I found some command-line commans: checkout, checkin .... Are those commands are useable with Linux command-line client.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: CLC FRO LINUX ENVIRONMENT

Post by Beth » Tue Jun 19, 2012 10:30 am

If you have Java on your machine, you can make use of the Vault Java CLC that is found in our downloads area. That is the easiest for most users. Once you have the Vault library on your machine, you would just open a command prompt and be able to run Vault commands from inside that directory.

Here are some additional articles that may help you as well.

CLC on Linux with .mono: http://support.sourcegear.com/viewtopic.php?t=157
CLC documentation: http://download.sourcegear.com/misc/vau ... nt/clc.htm.
CLC examples: http://support.sourcegear.com/viewtopic ... 13&t=15235
Beth Kieler
SourceGear Technical Support

tatfersht
Posts: 3
Joined: Tue Jun 19, 2012 8:08 am

Re: CLC FRO LINUX ENVIRONMENT

Post by tatfersht » Wed Jun 20, 2012 11:27 am

I try to create a script which will checkout code from Vault to some Linux local directory. Can I checkout code from label?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: CLC FRO LINUX ENVIRONMENT

Post by Beth » Wed Jun 20, 2012 12:57 pm

It's not possible to check out a label. A label marks the code at a point in time. In order to do the equivalent of checking out a label, you will want to check out a folder then perform a Get with Overwrite on a Label. Then you will have your files checked out and will have the versions at the point in time of the label.
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: CLC FRO LINUX ENVIRONMENT

Post by Beth » Wed Jun 20, 2012 3:23 pm

UPDATE: User reported back that GetLabel was what was needed here.
Beth Kieler
SourceGear Technical Support

Post Reply