API question

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

Moderator: SourceGear

Post Reply
purple
Posts: 2
Joined: Thu May 31, 2007 7:07 am

API question

Post by purple » Thu May 31, 2007 7:15 am

Hi - i'm trying to get to grips with the API (version 3.5.2). What i want to do is write a program to go over the history and get stats out (e.g. how many checkins per week, and then see how that has changed over the last few years).

Initially i thought running over all the transactions from 0 to client.Repository.RevID would be fine, however there are large gaps in the numbers, and the numbers are not on consecutive dates as one would imagine, but the dates hop all over the place early on. I'm guessing this is becaused our current vault repository was transitioned from VSS many years ago.

To try and cut to the chase - I want to start this from an date in the past where I know we had moved to valut and start running the stats from there, but to do this I need to get a txID for a particular version of the $ folder. So what I could use is some code that will get me the details of what happened to create revision X of folder $.

purple
Posts: 2
Joined: Thu May 31, 2007 7:07 am

Post by purple » Thu May 31, 2007 7:24 am

I should point out that i've been playing with VaultHistoryQueryRequests and the like but not got anywhere yet.

Post Reply