View Single Post
  #1  
Old 04-29-2004, 12:10 PM
mhouge mhouge is online now
Registered User
 
Join Date: 02-11-2004
Posts: 5
Error in Visual Build (using Vault)

Visual Build: version 5.3
Vault: version 2.02

It appears that Visual build is using the wrong command line argument when calling get through Vault's command line client.

Specifically, I am setting a step in Visual Build to do a "get" from Vault with the flag "overwrite all files regardless of comparison status" set.

When run, I receive an error: "unknown option: -overwrite".

I selected the "show command line constructed for call" option and it output the following:

"C:\Program Files\SourceGear\Vault Client\vault.exe" -host vault -user <user> -password <password> -repository "<repository>" get "<path in Vault>" -overwrite -setfiletime current -destpath "<local path>"

Looking in Vault's command line help, I was able to run the command with the following:

"C:\Program Files\SourceGear\Vault Client\vault.exe" -host vault -user <user> -password <password> -repository "<repository>" get "<path in Vault>" -merge overwrite -setfiletime current -destpath "<local path>"

Where "-merge overwrite" is the correct parameter.

For a workaround I can add this as an additional command line arg in Visual Build.

Is there a patch currently available, or are there plans to fix this?

thanks,
Mark
Reply With Quote