Hello all
I hope you can help me with this issue. I am working on an automatic build proccess and I need to perform get, checkout and checkin opperations to a non-working folder by using the vault.exe console application. "Vault.exe get" works fine with the "destpath" option, but seems that "checkin" and "checkout" commands can work only on the default working folder. Is there any way to checkout a file to a non-working directory with the "vault.exe checkout" command?
Thanks in advance for your help
Console checkin from a non-working folder
Moderator: SourceGear
Re: Console checkin from a non-working folder
That's right, you can only checkout to a working folder.
I'd like more information -- why do you need to checkout, rather than just do a get? Are the files changed after the build? Does the file need to be writeable? Locked? Other reason?
I'd like more information -- why do you need to checkout, rather than just do a get? Are the files changed after the build? Does the file need to be writeable? Locked? Other reason?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Console checkin from a non-working folder
Thank you for your answer, lbauer.
During the build process I need to grab the whole proyect and update some files back to the repository. For this reason I would need to check out the files in the temporal directory in which the proyect is built automatically (not the same to the working folder)
During the build process I need to grab the whole proyect and update some files back to the repository. For this reason I would need to check out the files in the temporal directory in which the proyect is built automatically (not the same to the working folder)
Re: Console checkin from a non-working folder
I'd suggest using the unsetworkingfolder and setworkingfolder commands to change the working folder temporarily.
See the commands here:
http://download.sourcegear.com/misc/vau ... nt/clc.htm
See the commands here:
http://download.sourcegear.com/misc/vau ... nt/clc.htm
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager