Friends who often use eclipse know that eclipse's text editor has always had a small bug: When you make changes but do not save them, even if you use Ctrl + Z to roll back to the version before the change, the file is still marked as "*", unless you Ctrl + S again to save, or choose to close and then choose not to save.
This bug is small, but when your project is developed by multiple parties and uses version control such as CVS, it becomes very troublesome: You want to see others'CodeBut the writing is terrible, so you re-typeset or make some format modifications for your convenience, or you accidentally make any modifications. If you roll back, the editor still thinks that you have modified the version, so you can easily accidentally press save, so that CVS will increase the local version number once as a change, when you synchronize the changes, the change will occur. Of course, if you only check the change, the problem will not be big, but after someone else modifies the file and uploads it again, this file will be processed as a conflict during synchronization, and it is likely that you forget what you modified, which brings unnecessary trouble and you may face a text comparison.
Normally, if I read a file and accidentally save it myself, I will immediately get the latest coverage from CVS, however, after all, this should be avoided by IDE to some extent.
Now, this bug has been fixed. In all build Versions later than 20050420, we can ignore it.
Https://bugs.eclipse.org/bugs/show_bug.cgi? Id = 21493