We have some scripts that we built to "get latest" from VSS. Do es Valut have a set of API's that I can use to call and get latest version within Visual Studio .NET2003?
Thanks
Tom
Vault API's
Moderator: SourceGear
I know Vault can do full check in/check out. So I'm OK here.
Yes, I'd like examples of how to get latest version from the command line. Can you send me examples of how to get latest "labeled" version from .net? C# example would be great!
While I'm not sure I want to program against the Vault library, I'd like to learn more.
Thanks
Tom
Yes, I'd like examples of how to get latest version from the command line. Can you send me examples of how to get latest "labeled" version from .net? C# example would be great!
While I'm not sure I want to program against the Vault library, I'd like to learn more.
Thanks
Tom
It's in c:\program files\sourcegear\vault client\vault.exe
You can get specific information about the command line tool with the command
and help on one of its commads with
The quick answer to downloading a label to a non-working folder is
To get the label to your current working folders, use:
You can get specific information about the command line tool with the command
Code: Select all
vault.exe help
Code: Select all
vault.exe help command
Code: Select all
vault getlabel -host vault.company.com -user "Build User" -password "MyPassword" -repository "QA" -destfolder "C:\builds\sourcetree" "$/Automated Tests" "My Label"
Code: Select all
vault getlabel -host vault.company.com -user "Build User" -password "MyPassword" -repository "QA" "$/Automated Tests" "My Label"