Vault.exe do not use login of VaultGUIClient.exe

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Yuri Ilyin
Posts: 25
Joined: Thu Feb 19, 2004 8:07 am
Location: Prolog Development Center
Contact:

Vault.exe do not use login of VaultGUIClient.exe

Post by Yuri Ilyin » Wed Oct 06, 2004 12:09 am

Hi all.

If VaultGUIClient is open, and one need to CheckOut a file by command line tool (Vault.exe), then the script should be:

set LOGIN=-user "%USER%" -password "%PW%" -host "%HOST%" -repository "%REPOSITORY%"
set HOME=C:\Program Files\SourceGear\Vault Client
set CMD="%HOME%\vault.exe" %LOGIN%
%CMD% checkout %FILE%

so it requires LOGIN once again, and therefore CheckOut is slow (even on local network).

It will be much nicer if vault.exe can know about currently running vaultGUIclient.exe and use Login from it.
regards Yuri
Prolog Development Center

Post Reply