History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16994
Type: Bug Bug
Status: Open Open
Assignee: Michael Gerasimov
Reporter: Max Ishchenko
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Clearcase: "Annotate" works incorrectly for some files

Created: 29 Jan 08 11:45   Updated: 14 Feb 08 20:01
Component/s: Version Control Integration. ClearCase

File Attachments: 1. Text File annotate.txt (14 kb)
2. File SystemActionCheckerImpl.groovy (6 kb)

Image Attachments:

1. annotatebug.gif
(36 kb)
Environment: Windows XP, Clearcase 2001A.04.00(4.2) as stated in "About" dialog of clearexplorer

Build: 7,613


 Description  « Hide
Sometimes "Annotate" produces strange results for unchanged files.
E.g. a file on disk is not checked out, read-only and the most recent version. But "Annotate" says that it had some changes in some lines. I see no rule for choosing what lines it treats as changed and what as unchanged. The screenshot shows "Annotate" result.
I also attach a output of cleartool. The command line was taken from idea.log.
The command line:
cleartool annotate -out - -nco -nhe -fmt "%Sd #|# %-16.16u #|# %-40.40Vn #|# " C:\views\Ishenko_main_view\Analyst\Source\conf\security\SystemActionCheckerImpl.groovy

I also attach the file in question. (SystemActionCheckerImpl.groovy )

I should also note, that sometimes annotate works correctly. Sometimes it marks only a few of lines as changed, sometimes more than a half ( as in this case)



 All   Comments   Work Log   Change History      Sort Order:
Max Ishchenko - 29 Jan 08 15:06
Oops, the screenshot was taken after I unchecked "Annotate" in file's left border context menu. It had commiter names to the right of line numbers. in lines that are not marked as changed. "Changed" lines had no committer there.

Max Ishchenko - 14 Feb 08 18:55
It seems, that checked out files work pretty well, but not for the unchanged recent versions.

Max Ishchenko - 14 Feb 08 20:01
The problem now seems much clearer. The mistakenly marked lines contain tab symbols! All other don't. And tabbed lines are not marked as changed when the file is checked out.