Incremental aka Changed File aka Delta Retrieve

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

Moderator: SourceGear

Post Reply
elmlocating
Posts: 2
Joined: Fri Feb 04, 2011 1:19 pm

Incremental aka Changed File aka Delta Retrieve

Post by elmlocating » Fri Feb 04, 2011 1:27 pm

Hello, Is there any way to perform an incremental retrieve of files that have changed since a specific date or label?

Reason: We run Automated Build Studio. When a CI kicks off, I want to retrieve only the files that have changed since the last build (or label, either is fine). This must be a recursive retrieve down our entire source tree. Right now, we retrieve the entire source tree and it takes 30+ minutes.

As a side note: If it turns out that you support but ABS integration with you does not, can you recommend CI tools that are compatible with an incremental retrieve?

We're running Vault Standard, V 5.1.1 (19215)

Thanks.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Incremental aka Changed File aka Delta Retrieve

Post by Beth » Fri Feb 04, 2011 4:05 pm

You can perform a history query and use one of the filters that is for getting only changes since a particular date or label. Then perform a Get from history.

Are you wanting to only send out files that have changed?

Would your get place the changed files in a folder that has all the files already present and then you perform a build?
Beth Kieler
SourceGear Technical Support

elmlocating
Posts: 2
Joined: Fri Feb 04, 2011 1:19 pm

Re: Incremental aka Changed File aka Delta Retrieve

Post by elmlocating » Sat Feb 05, 2011 11:46 am

Thank you for your reply.

First, I need to be able to do this using the command line, not in the Vault client, because it has to be scripted in Automated Build Studio. So I need a reference to those commands, if they exist. What you describe, though, is exactly what I'm after.

"Are you wanting to only send out files that have changed?" Yes, just files that have changed since a specific date or label.

"Would your get place the changed files in a folder that has all the files already present and then you perform a build?" Yes, I will have a build folder with all files for my source tree and want to replace existing files with the latest version of the ones that have changed (plus add in any that are new) since specified date or label.

I think of this as an "incremental" build. I've seen others refer to it as a "patch" build. It's also like a delta operation in backups: give me only files that have changed since last full backup.

Thanks in advance for any further guidance on accomplishing this.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Incremental aka Changed File aka Delta Retrieve

Post by Beth » Mon Feb 07, 2011 4:50 pm

You can find the command-line client commands listed here: http://download.sourcegear.com/misc/vau ... nt/clc.htm.

You might also look into using CC.NET along with our CC.NET plug-in.
Beth Kieler
SourceGear Technical Support

Post Reply