API : Getting branch info

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

API : Getting branch info

Post by chris » Sun May 13, 2007 11:23 pm

Is there a way to get branch info of a file using the Vault API?

I would like to get the 'branch from' information such as where the file is branched from. From the client GUI, it is stated "Branched from $/a/b/" in the ACTION column in the History Explorer.

I'm writing a migration program and I'm having problem getting files which has been branched.

Thank you.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue May 15, 2007 12:52 pm

I think your best bet there might be to upgrade to Vault 3.5.x or 4.0 when it comes out. I think those versions could print out a branch.

Post Reply