Hello,
I am using Server & Client v3.5.1.4786.
When I'm getting a history, sometimes Name and HistoryName fields are different.
Which one must be used to get the file from repository?
For example,
<item txid="22843" date="10.08.2006 11:53:58" name="_TRUNK/Installers" type="1" version="1" user="aantonov" txtype="10" historyname="_TRUNK/Installers_SPB" mi1="_clnt_DLL" mi2="" actionString="Added _clnt_DLL" />
Could you also describe the transaction types (txtype in my case, 10 = Add) and appropriate usage of Name, HistoryName, Mi1 and Mi2.
Thanks a lot!
VaultHistoryItem problem
Moderator: SourceGear
Re: VaultHistoryItem problem
Could you post the command you are using? Leave out passwords and server name.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: VaultHistoryItem problem
I slightly changed the source code of the client, which is Vault API exapmle to get all required fields with history. Then I executed it (vault.exe HISTORY) and it produced an XML file, containing transaction type - TxType in my case. These txtypes are actions performed by users in the past. For example, 70 = Create, 10 = Add, 80 = Delete, 130 = Move, 60 = CheckIn, etc. They come along with other parameters - Name, HistoryName, Mi1 and Mi2 - which contains information regarding paths the transactions performed on. Which parameters contain the paths depends on TxType, but I didn't find any information how to use them. For example, sometimes to get the full path I need to concatenate Name and Mi1 parameters, sometimes the source is Mi1 and the destination is Mi2, sometimes the Name contains the full path, etc.
So the problem is that I don't have clear documentation how to get the full path of transaction item(s) depending on particular transaction type.
Could you help me with this?
Thank you in advance.
So the problem is that I don't have clear documentation how to get the full path of transaction item(s) depending on particular transaction type.
Could you help me with this?
Thank you in advance.
Re: VaultHistoryItem problem
Hi Guys,
Any update of this?
I am working in EMC Corporation and the task is urgent.
Thank you in advance.
Any update of this?
I am working in EMC Corporation and the task is urgent.
Thank you in advance.
Re: VaultHistoryItem problem
We could use more information about what you're trying to accomplish. You might be able to use the commandline client for this, or there may be another way.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager