It's all about the answers!

Ask a question

IChangeSetHandle.getOrigin() after doing distributed delivery points to which repository?


Marko Tomljenovic (31648109) | asked Dec 01 '15, 8:24 a.m.
Hi,
I have a question related to following scenario:

A changeset CS has been delivered from repository RepoA to RepoB. Now when using the RTC API I am calling CS.getOrigin(). Which repository object is returned by that method?

Thank you


Accepted answer


permanent link
sam detweiler (12.5k6195201) | answered Dec 01 '15, 8:40 a.m.
which repo is the application logged on to?

I believe after the deliver, there are TWO changesets.. one in each repo
Marko Tomljenovic selected this answer as the correct answer

Comments
Marko Tomljenovic commented Dec 01 '15, 8:52 a.m.
There are actually two changesets but I think the UUD is still the same.

That means in case I call getOrigin() on the changeset in RepoB then the repository object for RepoB is returned. Correct?


sam detweiler commented Dec 01 '15, 8:53 a.m.

I think so, yes

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.