Hi,
Which action should I use to check in multiple files in batch for Vault?
Thank you
Hi,
Which action should I use to check in multiple files in batch for Vault?
Thank you
Hi Chan,
The Vault Check In action will do the trick as long as all the files you want to check in are in the same repository (ie. you set the repository field and leave the files section blank).
afaik Vault doesn’t allow you to specify wild cards with this command - if you need this kind of functionality, I’d recommend you ask on the Vault newsgroups.
.t8
Hi,
You might need this...
http://support.sourcegear.com/viewtopic.php?t=8695
Thanks for the link.
I think you’re referring to the BATCH command, right? If so, then this is no difference to having multiple Vault Check In actions (I think - it might be faster, but you still have to build the filelisting). And what you could do in FinalBuilder is use a FileIterator (which supports wildcards) and indent the Vault Check In action under it.
.t8
Hi,
Currently, I am using FileIterator and put Check in action under it. However, I found that, the check would be "partial" if any one of them failed.
I would like to have atomic checkin, so that my check in action is either ALL OR NONE.
does the BATCH command do all the various checkins atomically?
Hi,
Yes, it support atomic.
I changed my way to checkin/checkout multiple files. May I know how checkin/checkout action call vault command line if I specify multiiple files in this action? Does it call Vault.exe multiple time or one time with file list as parameter?
Sorry for the late reply - it calls the vault.exe once with all the files in a parameter.