It's all about the answers!

Ask a question

Getting changed Lines from ChangeSet

Renuka Sindhgatta (13) | asked Mar 25 '09, 10:40 a.m.
I want to get the lines of code that have changed from IChangeSet
I am trying with a stand alone Java Client.
I get the changeset, the changes and the IVersionableHandle

Is it possible to extract the lines that have changed ?

IChangeSet changeSet = (IChangeSet)changeItem;
Collection<IChange> changes = changeSet.changes();
for(IChange change : changes){
IVersionableHandle handle = change.item();


Be the first one to answer this question!

Register or to post your answer.