Get Latest API command failing

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
HenryEI
Posts: 8
Joined: Fri Dec 16, 2016 12:44 pm

Get Latest API command failing

Post by HenryEI » Tue Oct 03, 2017 3:01 pm

While preforming a Get Latest command using the Vault API, some of my users are having errors where the first version of the block is retrieved as opposed to the current version. This is causing errors with my program. I am not sure why this is only happening to some users.

Code: Select all

GetOperations.ProcessCommandGet(
    new string[] { vaultFile },
    new GetOptions()
    {
        Merge = MergeType.OverwriteWorkingCopy,
        MakeWritable = MakeWritableType.MakeAllFilesWritable
    });
Is there some settings in Vault that individual users may have set which is causing this?

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

Re: Get Latest API command failing

Post by Beth » Wed Oct 04, 2017 9:52 am

Can the users perform a Get with the Vault client? If so, try that just as a test to see if working properly.
Beth Kieler
SourceGear Technical Support

Post Reply