Batch checkout/checkin?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Traveler
Posts: 16
Joined: Fri Feb 20, 2004 12:04 pm

Batch checkout/checkin?

Post by Traveler » Thu Mar 25, 2004 3:17 pm

Hello,
I'd like to write a batch file that, when executed in a project directory, detects which files have been changed, checks them out ("-merge later"), then checks them in.
Is this possible?
Thanks.

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

Post by jclausius » Thu Mar 25, 2004 3:36 pm

i don't think you could do this with a batch file.

however, i do believe you could possibly get what you want by writing a custom client -
  • download the client api - if you have not already done so http://www.sourcegear.com/vault/downloa ... _2_0_1.msi
  • write an application which logs in
  • determines if the cwd is mapped to a repository path
  • do a scan in the client instance
  • checkout all renegade files
  • < do something or nothing here >
  • commit your changes
not sure if i missed anything, but you should get the gist of the solution.
Jeff Clausius
SourceGear

Post Reply