Search capabilities - how to search by Modified Date

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

Moderator: SourceGear

Post Reply
mmcewen
Posts: 3
Joined: Tue Mar 17, 2009 3:23 pm

Search capabilities - how to search by Modified Date

Post by mmcewen » Thu Apr 09, 2009 10:59 am

In VSS I could create a report by Modified Date to see what files have changed recursively in a project. Is this capability available in SGV? Is there a way I can create a Search criterium for this if it is not available?

thanks,
mmcewen

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

Re: Search capabilities - how to search by Modified Date

Post by lbauer » Thu Apr 09, 2009 12:16 pm

You can use the Vault History Explorer to search by files checked in or added over a range of dates. To do this, right-click on a folder, select Show History, and in the Actions tab select Checkin and Add, then in the Dates & Labels tab, select your date range. By default, Vault doesn't check in unchanged files, so the query results should give you a pretty good idea of what's changed.

However, this will give you files based on checkin/transaction times, not their modification times. If you really need the modification times, you may be able to write something with the Vault Client API or command line client that would determine the content of a folder (Listfolder) then use that list to get the file properties (ListObjectProperties), which includes modification time, then parse out those dates.
Linda Bauer
SourceGear
Technical Support Manager

mmcewen
Posts: 3
Joined: Tue Mar 17, 2009 3:23 pm

Re: Search capabilities - how to search by Modified Date

Post by mmcewen » Thu Apr 09, 2009 1:32 pm

Thanks Linda! I am able to see the changes made by date and I'm ok with Checked In values. Is there a way I can redirect this to a report. I can see it in the History Explorer window but I need to copy the changed files in the project to a manager for review. Any way to create this report?

thanks again,
mmcewen

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

Re: Search capabilities - how to search by Modified Date

Post by lbauer » Thu Apr 09, 2009 4:02 pm

Run the history query, then at the top of the results window select Query->Save All Results As. You have the option to save the results as .cvs, .txt or .html.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply