It's all about the answers!

Ask a question

Getting a change set from an IChangeSetHandle

Andrew Harmel-Law (14612218) | asked Sep 27 '09, 10:16 a.m.

I have an IChangeSetHandle object obtained from an AcceptReport and an associated ChangeSetInfo object. I want to use these to get at the Change Sets themselves so I can parse them and persist the results as a file. I've looked at the available documentation and forum posts but cannot, unfortunately find anything to help me do this.

Hopefully there is a simple answer to this (I guess so)

Thanks in advance for your help.

Cheers, Andrew

2 answers

permanent link
Michele Pegoraro (1.8k12116103) | answered Sep 28 '09, 3:13 a.m.
You have to fetch the item using IRepositoryItemService on server side or IItemManager on the client side.
Then you can use following methods:

IRepositoryItemService.fetchItem(IItemHandle itemHandle, String[] properties)

IItemManager.fetchCompleteItem(IItemHandle itemHandle, int flags, IProgressMonitor monitor)


permanent link
Andrew Harmel-Law (14612218) | answered Sep 28 '09, 4:38 a.m.
Thanks Michele,

I'll give it a try and see what I get back.

Cheers, Andrew

Your answer

Register or to post your answer.