We have upgraded from 5.1.1.1 to 7.1.
We have code that is running Vault via the command line using LISTFOLDER to output a list of files in a specific folder.
The code was expecting to find a status attribute in the <File> node which no longer seems to be there:
<vault>
<folder name="$/Common">
<file name="saDatabaseUpgrader.vbg" version="1" length="98" objectid="1218" objectversionid="30261" />
<file name="SendToOOCalc.frx" version="2" length="12" objectid="212073" objectversionid="1036984" />
<file name="psiUserDefControls.vbp" version="27" length="2837" objectid="1097" objectversionid="704114" />
This is the sample bat file that we ran to create the XML file for debugging purposes:
"C:\Program Files\SourceGear\Vault Client\Vault.exe" -host "VAULT" -user "VAULTUSER" -password "" -repository "VAULT REP" LISTFOLDER "$/Common" -norecursive > FileList.txt
Any ideas why the status attribute no longer is part of the output file.
LISTFOLDER XML output now longer has status attribute
Moderator: SourceGear
Re: LISTFOLDER XML output now longer has status attribute
I sent a response to your email to us.
We haven't changed LISTFOLDER. I was able to run the command and get the file status.
However if there isn't a working folder or if the status is "Blank" (up to date), no status is listed.
Does your folder have a working directory or a non-blank status in the file list?
We haven't changed LISTFOLDER. I was able to run the command and get the file status.
However if there isn't a working folder or if the status is "Blank" (up to date), no status is listed.
Does your folder have a working directory or a non-blank status in the file list?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager