Check in multiple files in batch

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Re: Check in multiple files in batch

Post by jclausius » Thu Sep 27, 2007 7:16 am

chanmy8 wrote:Hi,
How could I check in multiple files in batch using command line?
Thank you
Take a look at the help for the command line COMMIT action, "Vault.exe HELP COMMIT". You can commit the current change set (no arguments), or individual items within the change set (list of repository paths as arguments)
Jeff Clausius
SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Sep 27, 2007 7:17 am

chanmy8 wrote:Also, how about check out in batch?
Look at "vault.exe HELP CHECKOUT". You can specify individual files or use wildcards.
Jeff Clausius
SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Sep 27, 2007 7:19 am

One last thing... Look at "vault.exe HELP BATCH".

The Vault command line also has a BATCH mode which can take a file or standard input for a listing of version control commands. This allows you to write batch scripts which can execute multiple actions within a vault login session.
Jeff Clausius
SourceGear

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Fri Sep 28, 2007 8:16 am

All transactions within Vault are atomic. There will be a one to one atomic transaction for each commit or checkin command.
Jeff Clausius
SourceGear

Locked