Getting file from a branched folder

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 file from a branched folder

Post by chris » Thu May 10, 2007 8:39 pm

I'm referring to the issue highlighted in this thread

http://support.sourcegear.com/viewtopic.php?p=30358

It was stated in the last response
What was discovered so far is that there's a difference between how the command line client and the GUI handle file history in a branch. The branched folder only has a history from the branch on forward, but the files have their history. In the GUI, you can get the file history from before the brand (but not the folder), but on the command line one can only retrieve the file history from the branch forward.

We have logged a bug on this so it can be reviewed and see if can be fixed for a future release.

I would like to know if there is a fix or solution to this issue.

I'm writing a migration program using Vault Client API. I get this
exception VaultClientOperationsLib.GetLatestVersionFailedException
when GetByDisplayVersionToNonWorkingFolder is executed with a file that is branched.

I'm using Vault server version 3.1.7.3719

Thank you.

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

Post by Beth » Fri May 11, 2007 8:12 am

The bug is still logged but not fixed yet.

On the API question, can you check that you can successfully get in the same manner via the GUI and/or the command line?

Also, do you have any errors associated with that in the Vault Server Log?

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

Post by chris » Sun May 13, 2007 7:58 pm

I can successfully get the file from the GUI. As for the command line, I have not tried. This may sound like a silly question, but how do I access the Vault command line client?

And there is no related error logged in the Vault Server Log.


P.S:-
I have thought of a workaround to get the branched file but I do need to get the branch info such as the path of the file which it was branched from. How do I get this info from the API? Any idea? Thanks a lot

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

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

The Vault command line client is in the same directory as rest of the Vault files. You can just use vault.exe. The documentation on the commands can be found here: http://download.sourcegear.com/misc/vau ... nt/clc.htm.

Post Reply