Revert does not work correctly
Created originally on Bitbucket by colin-hurley (Colin Hurley)
Environment
- Eclipse RCP Oxygen 2
- MercurialEclipse 2.5.0
- Mercurial 4.3.1 and 4.2.2
Steps to reproduce
- In a repository that has at least several revisions for a file, make changes to the file to make it dirty
- Use Team > Revert to discard the changes
Expected behavior
The changes to the file are removed and the file is no longer marked dirty.
Actual behavior
The file is returned to its state in an earlier revision and is still dirty. It appears to be returned to the parent of the latest revision that touched the file.