Label difference question...

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

Moderator: SourceGear

Post Reply
bellman3021
Posts: 4
Joined: Thu Jul 05, 2007 1:11 pm

Label difference question...

Post by bellman3021 » Fri Jul 20, 2007 11:38 am

How would I return just the file name that the history command finds? Right now I'm getting back an item for every version difference between two labels. The output is huge to say the least and I have parse it for duplicates.

Here's the command I'm using now:

vault history <connectionstring> "$/CurrentRelease" -beginlabel "Release40" -endlabel "Release41"

I'm using the output to determine which files need to be uploaded to the server, rather than uploading everything.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Jul 20, 2007 12:14 pm

Unfortunately, there's no way to get the command line client to return a list of just the files that have changed, without giving information about every change to the file. I'm afraid that you'll have to de-duplicate the output in a post-processing step.

Post Reply