Hello
Before using Vault, we were using VSS. We have some applications which need to update files in the repository automatically. To do this, we invoked the command-line client SS from within these applications and got the desired results.
Unfortunately, we weren't able to achieve this using Vault, using both the command-line client and the .NET library.
We would need to specify the directory per-request where the files shall be put or retrieved from. This works just fine for GET operations (using the -destpath switch), but this switch doesn't have any effect on CHECKOUT and COMMIT operations - but it doesn't report an error either!
Another problem seems to be that the automated application does not necessarily run under a user account where Vault has been set up, so that it just doesn't work at all.
What I'm looking for is a simplistic client that does not do any caching, shadowing etc. and just allows me to GET, CHECKOUT, COMMIT and UNDOCHECKOUT any file (and directory just for GET operations) to any local destination. Nothing more. Just like it was possible using SS with MS VSS...
Thank you
Arsène von Wyss
Automated checkout/checking
Moderator: SourceGear
Vault is designed to only allow checkins from a working folder, so you will have to explicitly define a working folder before you will be able to commit changes to the repository. You can do this automatically using the command line, so it should just require an extra call.
Since checkng in files requires a working folder and state information, you'll need to run the process as a user who can normally run Vault (and allow creation of files in the %appdata% folder).
Sorry this requires changes to your scripts.
Since checkng in files requires a working folder and state information, you'll need to run the process as a user who can normally run Vault (and allow creation of files in the %appdata% folder).
Sorry this requires changes to your scripts.