Getting all changeset records

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

Moderator: SourceGear

Post Reply
chris
Posts: 6
Joined: Thu May 10, 2007 8:29 pm

Getting all changeset records

Post by chris » Wed Dec 26, 2007 8:19 pm

Is it possible to retrieve changeset records using the Vault API?

I'm working on a program to migrate all files and history from Vault to TFS Source Control. Currently my approach is looping through each file and get history of that file and perform each action in TFS. But this approach is not feasible as in test run, it took a very long time to migrate.

What I'm trying to do now is instead of looping through each file's history (thus creating a lot of changesets in TFS) is to retrieve the changeset in Vault, getting all the files and actions and group them into one changeset in TFS.

Can anyone let me know if there is a way to do this using the API? What class and method should I be exploring? Help is greatly appreciated.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Dec 27, 2007 8:31 am

If you could get each individual change set ID (transaction ID) from a version history query from root, you could try ClientIntance.GetTxDetail().
Jeff Clausius
SourceGear

Post Reply