Hi,
I'm trying to create a continuous integration server and I need to access our Vault repository from the command line. I've read the documentation but I'm not having much luck pulling pieces of the repository versus the entire repository. We have hundreds of projects in the repository and I only want a specific few for each build event, not the entire repository
An example: Repository name is "MyRepository". I have two projects in MyRepository, $/dev/MyCode/Project1 and $/dev/MyCode/Project2. I only want to pull down Project1 code to a nonworkingfolder. The command I'm trying to run is:
vault.exe GET -host myhost -ssl -user me -password mypassword -repository MyRepository -nonworkingfolder c:/someotherpath -verbose true $/dev/MyCode/Project1
What I get from that is a System.Exception with the message "Could not map path to anything useful. I have tried variations fo the repositorypath at the end with no luck. The documentation for all the options is good but there is no guidance on what repositorypath should look like.
Any help would be greatly appreciated.
Thanks,
Brett Bim
eduphoria!
Vault Command Line - GET
Moderator: SourceGear
Re: Vault Command Line - GET
Which version of Vault are you using?
Do you have a working folder set?
On your disk path, try flipping your / the other way so that it reads like C:\someotherpath.
Do you have a working folder set?
On your disk path, try flipping your / the other way so that it reads like C:\someotherpath.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault Command Line - GET
I ran a few tests and think I found it now. Remove the word 'true' after verbose. Just using the switch -verbose will turn on verbose mode.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault Command Line - GET
Yup, that verbose issue was it. Thanks for the update.