# Compare With menu

The compare menu normally allows you to compare with local history (Eclipse's own version of saved files during a session), or to compare two selected resources.

However, once a project is connected to a Subversion repository, a few new entries are present in the Compare menu:

- Compare With > Base Revision - this will compare the selected resource with the "pristine" version hidden away in the project's working copy. This happens without contacting the repository.
- Compare With > Latest From Repository - this will compare the selected resource with the latest version of this resource at the same location in the repository. This requires a lookup to see what the latest version is.
- Compare With > Previous From Repository - TODO. this will compare the selected resource with the latest version of this resource at the same location in the repository. This requires a lookup to see what the latest version is.

These comparisons are very useful for reviewing the contents of you changes before you commit them.