Using command line to get latest version
Moderator: SourceGear
Using command line to get latest version
I'm trying to automate my build process and basically would like to be able to reproduce the behaviour that happens in the Visual Studio.NET IDE when I right click on my solution file and click on the Get Latest Version (Recursive) menu option. I've looked at the help for the commandline but it looks to me like I can only specify a folder to get the latest versions to. I would like it to replace the files that are currently on my systems. I also searched through the forums but couldn't find anything like this either.
Any thoughts?
Thanks for the help,
Greg
Any thoughts?
Thanks for the help,
Greg
If this is for a build system, I'd suggest doing a recursive get from the folder of the solution to a NON-working folder for each build.
Something like:
BUILD 101 - vault -server w -repository x - user y -password z GET $/project_folder/ -destpath c:\mybuild\build101\
BUILD 102 - vault -server w -repository x - user y -password z GET $/project_folder/ -destpath c:\mybuild\build102\
BUILD 103 - vault -server w -repository x - user y -password z GET $/project_folder/ -destpath c:\mybuild\build103\
Something like:
BUILD 101 - vault -server w -repository x - user y -password z GET $/project_folder/ -destpath c:\mybuild\build101\
BUILD 102 - vault -server w -repository x - user y -password z GET $/project_folder/ -destpath c:\mybuild\build102\
BUILD 103 - vault -server w -repository x - user y -password z GET $/project_folder/ -destpath c:\mybuild\build103\
Jeff Clausius
SourceGear
SourceGear
Just trying what you are suggesting. It appears like it is pulling all of my files back just like you said. I think the problem that I'm going to run into is that I have 8 or 9 projects in this solution a couple of which are database projects which could have thousands of files in them. It seems like it is going to take a lot of time to bring all of these files down when only a few may have changed from my working folder. Any thoughts on how I can just refresh the files in my working folder? BTW, this is a web app so some of the files live in My Documents and others are in inetpub.
Thanks for the help so far,
Greg
Thanks for the help so far,
Greg