Working with Version Histories (Subversion)
See Also
Searching the histories of files can be helpful when you need to find specific
commits, for example when backporting bugs. The IDE's Search Histories window
enables you to view a summary of a file's evolution over time by revision number.
You can view file histories in the IDE's Search History window. To do so, select
a versioned file (e.g. from the Projects, Files, or Favorites window) and choose
either Subversion > Search History from the right-click menu or Team >
(Subversion >) Search History from the main menu. Alternately, in the
Versioning window you can choose
Search History from a file's right-click menu.
Searching for Specific Revisions
Using the Search History window, you can search a file or folder's history for
versions based on several criteria. These are:
- Message. The description submitted with the commit.
- Username. The author of the commit.
- From. The tag, revision number, or date from which the
commit was made.
- To. The tag, revision number, or date before which the
commit was made.
To search for a specific revision:
- Select the file or folder for which you want to find a specific revision.
- Choose Team > (Subversion >) Search History from the main menu. Alternately,
you can choose Subversion > Search History from the selected file's right-click
menu. The IDE displays the file's revision history in the Search History window.
- Enter search criteria information in the Message, Username, From, and To fields.
You can also use the Browse buttons to designate any tag, branch, revision, or
date you want to limit your search to.
- Click Search. The IDE displays the file's revision history in the Search
History window.
- If you want to perform a diff, or revert (i.e. 'rollback') changes from a specific
commit, you can do so from the displayed revision history using the Diff
and Revert links to the right of each revision.
Comparing Revisions in the Search History Window
You can compare a file with previous versions from within the Search Histories
window using the Diff (
) button.
To view revision differences in the Search History window:
- Click the Diff button in the toolbar.
- Select the revision against which you want to compare your local working copy.
The IDE displays a diff of the file's revisions within the Search History window.
Note that you can navigate between the differences using the Previous Difference
(
) and Next
Difference (
)
buttons.
- See Also
- Comparing File Revisions in Subversion
- Merging File Revisions
- Resolving Merge Conflicts
Legal Notices