It's all about the answers!

Ask a question

Evil twin - could this happen in RTC?


Anthony Kesterton (7.5k9180136) | asked Feb 23 '09, 7:36 a.m.
JAZZ DEVELOPER
Hi

ClearCase users sometimes got themselves into a knot with the so-called Evil Twin problem. Very simply, a user would remove a file and recreate it - leaving the original file in the system as well as the new version - with different people working on different files depending on where they were "looking" with their view. The remove was actually removing the name from the directory record (cc cmd is rmname).

Is it possible to do the same thing in RTC (accidentally of course)?

thanks

anthony

4 answers



permanent link
Jean-Michel Lemieux (2.5k11) | answered Feb 23 '09, 9:05 a.m.
JAZZ DEVELOPER
This can't happen in RTC. But you can get evil-twin conflicts when different users add the files/folders with the same name. For an outline of how RTC supports add/add evil-twins see:

https://jazz.net/learn/LearnItem.jsp?href=content/docs/source-control/conflicts/index.html#Example_6

Regards,
Jean-Michel

permanent link
Anthony Kesterton (7.5k9180136) | answered Feb 23 '09, 9:15 a.m.
JAZZ DEVELOPER
This can't happen in RTC. But you can get evil-twin conflicts when different users add the files/folders with the same name. For an outline of how RTC supports add/add evil-twins see:

https://jazz.net/learn/LearnItem.jsp?href=content/docs/source-control/conflicts/index.html#Example_6

Regards,
Jean-Michel


OK - many thanks. The link shows RTC behaving as I would expect.

anthony

permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 23 '09, 2:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Just for interests sake, what is it that can't happen in RTC?

In particular, in RTC, a user can remove a file and create a new file
with that name, resulting in different files working on different files
with the same name. I believe the only difference between CC and RTC in
this regard is that in CC, the file by this name is recorded in the
directory version, while in RTC, the file by this name is recorded in
the configuration.

Cheers,
Geoff

jlemieux wrote:
This can't happen in RTC. But you can get evil-twin conflicts when
different users add the files/folders with the same name. For an
outline of how RTC supports add/add evil-twins see:

https://jazz.net/learn/LearnItem.jsp?href=content/docs/source-control/conflicts/index.html#Example_6

Regards,
Jean-Michel


kesterto wrote:
Hi

ClearCase users sometimes got themselves into a knot with the
so-called Evil Twin problem. Very simply, a user would remove a file
and recreate it - leaving the original file in the system as well as
the new version - with different people working on different files
depending on where they were "looking" with their view.
The remove was actually removing the name from the directory record
(cc cmd is rmname).

Is it possible to do the same thing in RTC (accidentally of course)?

thanks

anthony

permanent link
Anthony Kesterton (7.5k9180136) | answered Feb 23 '09, 5:25 p.m.
JAZZ DEVELOPER
Just for interests sake, what is it that can't happen in RTC?

In particular, in RTC, a user can remove a file and create a new file
with that name, resulting in different files working on different files
with the same name. I believe the only difference between CC and RTC in
this regard is that in CC, the file by this name is recorded in the
directory version, while in RTC, the file by this name is recorded in
the configuration.

Cheers,
Geoff



Ah - when I tried to create the situation in RTC to see how it would behave - I found that my new file had a new (and a very short) history, and looking back in the component history, I could pick out the original file and see its (longer) history. This is how I expect things to work. My (mis?)understanding was that the ET effect in CC was that CC thought it was just a new version of the file.

anthony

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.