Export changed files only

If you are having a problem using Vault, post a message here.
Post Reply
veldev
Posts: 1
Joined: Fri Nov 19, 2010 9:05 am

Export changed files only

Post by veldev » Fri Nov 19, 2010 9:25 am

Hi,

We are testing Vault Professional. It works fine but we have one question left.

Is it possible to export the changed files between 2 branches? Because we have very large projects we want to make a patch with only the changed files. So we don't need to send all files to our customers.

Example: Branch for version 1 and a branch for version 1.1, how do you export the modified files to a directory?

Regards,
Erwin

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

Re: Export changed files only

Post by lbauer » Fri Nov 19, 2010 10:14 am

There isn't built in functionality for this, but you might be able to do it with a workaround.

Here's what one of our users posted to the forum. This was suggested to get the differences between two labels, but could also be used for two folder versions.
I have a workaround that uses Vault in conjunction with a 3rd-party tool, Beyond Compare, to pull this off.

Here's what I do:
1. Use GET LABEL to pull base files in <dir>_base
2. Use GET LATEST to pull latest files into <dir>_latest
3. Use Beyond Compare scripting to copy changes (comparing <dir>_latest with <dir>_base) into <dir>
4. Delete <dir>_base and <dir>_latest, leaving just updated files in <dir>
http://support.sourcegear.com/viewtopic ... 1005#31005

I've logged feature request 15743 for this functionality. It will be evaluated for an upcoming release of Vault and Fortress.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply