SCM Annotate View inconsistent IDs?
I have trouble understanding the IDs displayed in RTC SCMs annotate view in Eclipse:
What is the number displayed when showing the "Revision ID"? Sometimes it seems 4 out of 4 digits out of the work item, sometimes a totally different number. It is also not the revision ID of the file (which is still max. 35). Update: Compared this with the command line annotate - which also reports the WI number but nowhere the "ID" shown in Eclipse: |
Accepted answer
The identifiers are for the work item numbers, if available or the first four letters of the change set command if they are not associated with a work item. The context menu item could be renamed to make this a little more clear. The author name should probably use the new two character short forms used in Work Items instead of a custom format with the first letter of first name and remaining last name characters.
An RFE could be raised to improve the annotation feature a bit to make things more consistent and clear. As an aside, the four digit identifiers used in the CLI are only unique to the current user CLI session. Those ID's are not portable to the eclipse client or other user sessions. Karsten Angstmann selected this answer as the correct answer
Comments
Karsten Angstmann
commented Nov 27 '15, 11:45 a.m.
Ok, however I still do not get the first screenshot:
The reason for the extra digits (5, instead of 4) is because the framework in Eclipse, which we do not control, requires a unique ID for every revision. The other work item probably has more than one change set, representing more than one revision and the algorithm tries to generate a unique ID within the context of this file by appending extra digits (ie. 0, 1, 2, ...).
Karsten Angstmann
commented Dec 11 '15, 10:51 a.m.
As proposed I made out of this:
|
2 other answers
Ralph Schoon (63.3k●3●36●46)
| answered Nov 06 '15, 10:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It is the ID of the work item associated to the change set. You can press F2 and go into the hover window and go at the link and open it.
Comments
Karsten Angstmann
commented Nov 06 '15, 10:16 a.m.
Sorry, maybe the question was imprecise. :-)
1
Ralph Schoon
commented Nov 06 '15, 10:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The ID - at least in my RTC client - is the ID of the work item that is associated to the change (plus the start of the summary if there is space) or the comment if there is no work item. See the image below.
Ralph Schoon
commented Nov 06 '15, 10:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
And I have no idea if that matches what you see and what happens if there are multiple numbers. I just comment on what I see in my demo environment. And this setting was new to me too 8)
Ralph Schoon
commented Nov 06 '15, 10:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
For your entry 7798 that could be the first 4 digits of 77981, 26281 is more puzzling. Some show 4 and some show 5 digits. Odd.
Karsten Angstmann
commented Nov 06 '15, 10:46 a.m.
Ok, what you describe would have been my expectation also :-)
|
Geoffrey Clemm (30.1k●3●30●35)
| answered Nov 08 '15, 6:24 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I've always assumed that is the change-set identifier (i.e., the identifier you would use in the command line to refer to that change-set).
I never use the command line, so I've never verified that myself (first person to do so should post a comment :-). Comments
Karsten Angstmann
commented Nov 27 '15, 10:44 a.m.
I compared it with the annotate output of the command line - which reports the work item ID but never this strange number (see screenshot above)
Assuming the view shows the work item ID - it clearly does not show the internal version ID's, that is for sure - and assuming that there is only limited space to show it, which makes it hard to identify the number, then assuming it should show the user friendly version ID, just because that is shown in some other view, is a bit of a stretch.
I would recommend to file an enhancement request if you want the latter, to be able to enable it, and a defect for the numbers shown that are confusing.
Karsten Angstmann
commented Nov 30 '15, 5:04 a.m.
Thanks, agreed.
|
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.