Command line client incorrectly says its successful

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

Moderator: SourceGear

Post Reply
robe070
Posts: 176
Joined: Wed Feb 06, 2008 7:42 pm

Command line client incorrectly says its successful

Post by robe070 » Tue Oct 19, 2010 4:55 pm

We are using the Vault Command line client version 5.0.3.18802.

We are getting an error when running it but the result is still successful. Please can you make it return the correct error status?

Here is a snippet of the output:
<vault>
<!--An error occurred reading from the download stream ("The operation has timed out."), retrying...-->
<!--An error occurred reading from the download stream ("The operation has timed out."), retrying...-->
<!--An error occurred reading from the download stream ("The operation has timed out."), retrying...-->
<!--Too many errors were encountered downloading files. Some files may not have been updated.-->
<!-- Fetched $/VL/Trunk/work/Development.sln-->
<!-- Fetched $/VL/Trunk/work/Runtime.sln-->
<!-- Fetched $/VL/Trunk/work/PreviewTemplateProcessor.sln-->
<snip>
<!-- Fetched $/VL/Trunk/work/x_win95/x_lansa/source/x_varstr.h-->
<!-- Fetched $/VL/Trunk/work/x_win95/x_lansa/source/x_fun5.c-->
<!-- Fetched $/VL/Trunk/work/x_win95/x_lansa/source/x_dbm_i.def-->
<result>
<success>True</success>
</result>
</vault>
regards

Rob Goodridge
LANSA Pty Ltd
Software Made Simple
Vault 5.0.3

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Command line client incorrectly says its successful

Post by lbauer » Wed Oct 20, 2010 7:54 am

What was the command? Was it a GET, Checkout, Get from Label?

This was a problem with the incorrect status code in earlier versions, but we thought we'd fixed it for failed checkouts.
Linda Bauer
SourceGear
Technical Support Manager

robe070
Posts: 176
Joined: Wed Feb 06, 2008 7:42 pm

Re: Command line client incorrectly says its successful

Post by robe070 » Wed Oct 20, 2010 3:20 pm

Its a failed GET.
regards

Rob Goodridge
LANSA Pty Ltd
Software Made Simple
Vault 5.0.3

Post Reply