It's all about the answers!

Ask a question

Compare Snapshot with Repository workspace programatically API?

vijayakumar ramesh (1173761) | asked Oct 04 '21, 10:11 a.m.

Use Case : Programatically need to compare repository and a snapshot has difference in terms of change sets ?

Accepted answer

permanent link
Shashikant Padur (4.2k27) | answered Oct 05 '21, 12:08 a.m.
To compare a workspace/stream against a snapshot, you have to loop through the baselines in the snapshot and call IChangeHistorySyncReport compareToBaseline(IBaselineHandle baseline, IProgressMonitor monitor).
vijayakumar ramesh selected this answer as the correct answer

vijayakumar ramesh commented Oct 06 '21, 2:47 a.m.

Thanks Shashikant for the quick answer, apperciate your support.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.