Assume I have a form bean in gov.nta.dbm.web.dto
The form bean is as following:
If I add one more attribute in this form bean:
We can see this form bean had been modified and add ">" icon before file name to remind us this file had been modified.
If I would like to revert its changes, just right click => Replace with => HEAD Revision
Click OK to make sure to discard changes.
We can see the ">" label is disappeared.
And the form bean had been revert to original version:
If you find out your revert action is success, but the ">" label still show in Eclipse.
Its EGit bug, go to its website ( http://eclipse.org/egit/download/ ) to update your EGit version.