How do I checkout a file to a temp. working folder?

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

Moderator: SourceGear

Post Reply
sgclark
Posts: 31
Joined: Wed Jul 14, 2010 9:51 am

How do I checkout a file to a temp. working folder?

Post by sgclark » Wed Jul 28, 2010 3:20 pm

I want to update the version info files when doing a release build on our integration machine, and persist the changes in Vault so the changes can be moved down to the code branch in our development machines.

Using either the Vault.Nant tasks or a Vault command line called using the NAnt exec task, how do I check out a file to the integration machine using a working folder that's different from the working folder (in a development machine) assigned in Vault? It looks like either I have to save, change, then restore the working folder, or have the working folder path the same on the integration and development machines. Is it possible to check out to a temporary folder, without affecting the working folder assigned in Vault, make some changes, and check in again?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: How do I checkout a file to a temp. working folder?

Post by lbauer » Thu Jul 29, 2010 8:20 am

You can Get to a non-working folder using the -nonworkingfolder option, but it doesn't work for checkouts. So you may need to set and unset your working folder as part of your scripts.
Linda Bauer
SourceGear
Technical Support Manager

sgclark
Posts: 31
Joined: Wed Jul 14, 2010 9:51 am

Re: How do I checkout a file to a temp. working folder?

Post by sgclark » Thu Jul 29, 2010 12:37 pm

I was hoping I was missing something simple and could avoid having to save,set, and restore the working folder...oh well.

Thanks for your reply.

Steve

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: How do I checkout a file to a temp. working folder?

Post by lbauer » Mon Aug 02, 2010 8:53 am

We have feature request logged 6920 for this functionality; I'll add your vote.

It will be evaluated for an upcoming release of Vault and Fortress.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply