Hi,
I am Using Visual Build Pro 6.1 , with Vault sever and client version 3.1.8(3771).
I am using VB Pro to get latest from a Vault repository. I have noticed that this proceedure can take considerable time.
If I use the vault GUI client and do a get latest from there it may take 2 - 3 mins for the operation to complete.
Performing the exact same get latest from VB and it can take a couple of hours.
I posted this query to the Visual build fourm and they suggested that I post my query here with the command line that is being called from visual build pro.
"C:\Program Files\SourceGear\Vault Client\vault.exe" -host MyHost -user XXXXX -repository MyRepository get $/MyRepository/MyFolder -makewritable -setfiletime current -destpath C:\MyRepository\MyFolder
Any suggestions would be greatly appriciated,
Thanks,
Donal
Get Latest Using Command line call
Moderator: SourceGear
The Vault Client caches a great deal of information on the client side. A "get" does not actually get files that are up to date in the working folder and even if files have changed, "get" only gets the deltas, or the changes.
However, when you use -destpath, you are telling Vault to get to a non-working folder, and it will do a fresh get of all the files, which will take much longer. Still, 2 -3 hours seems excessive.
Is C:\MyRepository\MyFolder the same as the working folder set in the Vault GUI Client? If so, you don't need -destpath.
You might also check the Vault Server log (sgvault.log in %windir%\temp\sgvault) to see if there are any errors reported during the lengthy get.
However, when you use -destpath, you are telling Vault to get to a non-working folder, and it will do a fresh get of all the files, which will take much longer. Still, 2 -3 hours seems excessive.
Is C:\MyRepository\MyFolder the same as the working folder set in the Vault GUI Client? If so, you don't need -destpath.
You might also check the Vault Server log (sgvault.log in %windir%\temp\sgvault) to see if there are any errors reported during the lengthy get.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager