Identifying updated files in a branch

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

Moderator: SourceGear

Post Reply
imhoff
Posts: 3
Joined: Thu Mar 10, 2005 10:54 am
Location: Cedar Knolls, NJ
Contact:

Identifying updated files in a branch

Post by imhoff » Thu Mar 10, 2005 11:05 am

Hello Everyone,

I hope your day is going well... Starting to use Vault for the first time and have a question. I've done quite a bit of research on Vault but just can't figure this out.

This is what my setup looks like:

$
- Builds
-- codebase (currently 3.10.00.00)
- Patches
-- 03.10.00.01
--- codebase (branch of 3.10.00.00)

There are approx. 2500 files in the site across 15 folders or so. We've only modified about 15 files for the 03.10.00.01 patch (located in 03.10.00.01/codebase folder). I see that each of these files have a local version, where as the unchanged files only have a remote version (from the branch).

Is there a way to simply list all of the updated files so that I can apply a label to them? This would allow me to pull the 15 files to a seperate location where I can then put them in the package we send out.

I greatly appreciate any help you may be able to provide on this matter.

Hope you have a great day,
Michael

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Mar 10, 2005 1:12 pm

There isn't a way to easily search which files are missing locally. You might try to approach this by doing a history in 03.10.00.01/codebase - it should list the files that are changed. You could then apply file labels to each of them, or a folder label to the tree at a specific version. We unfortunately don't have the capability to label just files that have changed since a point in time, for easy retrieval later.

mlippert
Posts: 252
Joined: Wed Oct 06, 2004 10:49 am
Location: Cambridge, MA

Post by mlippert » Thu Mar 10, 2005 1:42 pm

I think that a feature that would help here is a tab in the History dialog for labels that is similar to the date tab, so that you could all history items that occurred before, after or between labels. Of course dates and labels in this context should probably be mutually exclusive since they don't make sense together.

Mike

imhoff
Posts: 3
Joined: Thu Mar 10, 2005 10:54 am
Location: Cedar Knolls, NJ
Contact:

Post by imhoff » Thu Mar 10, 2005 3:33 pm

Hi Dan,

Thanks for your suggestion -- That got me closer to what I need. It would be great if you could apply a single label to multiple files through this interface.

So -- Now I have all of my files labeled properly. Is there any easy way to export all of the files for a given label so that the directory hierarchy is maintained?

For example, codebase is my "site root" which has two sub folders, these in turn have multiple child folders. Essentially, I want to right click on codebase and export codebase and all needed subfolders/files with a given label for the 15 files in the build to a new directory on my server.

This is how I would "package" a build for my clients.

Thanks for any help you can provide, it's somewhat difficult to make the change from StarTeam after 5 or so years of use...

Thanks again for your time,
Michael

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Mar 10, 2005 4:58 pm

The only way to do a get on multiple file labels on a common parent folder is to do it from the command line. Look at the GETLABEL command and play around with it, and see if it does what you want it to.

imhoff
Posts: 3
Joined: Thu Mar 10, 2005 10:54 am
Location: Cedar Knolls, NJ
Contact:

Post by imhoff » Thu Mar 10, 2005 5:15 pm

Hi Dan,

I'll definately look into this -- hopefully this can help fill a large gap on how we move forward.

I realize help is built into the command line tool, but are there usage examples anywhere that I can reference? It doesn't even seem as though the command line tool is referenced in the Vault Client help files...

Thanks again!
Michael

Post Reply