I am developing a web application that with image files, documentation, etc. has gotten quite large.
My current build process does the following:
1. labels the repository
2. gets the versions denoted by the label
3. zips the file
4. drops it in a directory on the server
That process is similar on our integration server, but more automated in deployment. When the test server code is determined to be production ready I go get the zip file from the daily builds that was FTPd to the production machine that matches the build number from test.
This is all well and good, but the files are getting larger and larger.
What I would *really* like to do is only get the files that changed from build X to build X-1.
Anyone know how to do this or have a pointer to the useful info in the help file?
Getting only Changed Files
Moderator: SourceGear
Safe to assume you are using the command-line client, or are you performing these steps manually?
One possibility might be to perform a diff against the folder you pull to in order to identify the files that have changed.
Some people set up shadow folders to be where their live files are, but those are automatically updated every time there is a version change, so if someone uploads a problem file to Vault, it's suddenly live.
One possibility might be to perform a diff against the folder you pull to in order to identify the files that have changed.
Some people set up shadow folders to be where their live files are, but those are automatically updated every time there is a version change, so if someone uploads a problem file to Vault, it's suddenly live.
The diff can be performed from the command line client or a script as well. Documentation on the commands can be found here: http://download.sourcegear.com/misc/vau ... nt/clc.htm