Command line XML data for ListFolder

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

Moderator: SourceGear

Post Reply
wkrzystek
Posts: 33
Joined: Mon May 15, 2006 11:25 am

Command line XML data for ListFolder

Post by wkrzystek » Fri Nov 28, 2008 4:01 pm

When I'm using the ListFolder command in version 4.1.4, the XML is returning the repository information for the folder - not the current status of the working folder. Is this controlled in an option anywhere?

THe XMl data returns

Code: Select all

<vault>
  <folder name="$/LOCAL/VAULTTEST">
    <file name="WKTEST.PRG" version="3" length="4354" objectid="5" objectversionid="38" />
  </folder>
  <result>
    <success>True</success>
  </result>
</vault>
but the folder has version 2 in it wil a status of "Old" shown in the vault client GUI. I would expect the XML to have version="2" and an extra attribute of status="Old".
Attachments
example.jpg
example of gui client screen and xml results
example.jpg (97.61 KiB) Viewed 1350 times

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

Re: Command line XML data for ListFolder

Post by Beth » Mon Dec 01, 2008 4:40 pm

Received email, so am working offline with user. Feature appears to work on my installation, so need to troubleshoot this issue.
HS: 214400
Beth Kieler
SourceGear Technical Support

Post Reply