Working with Version Histories (CVS)
See Also
Searching the histories of files can be helpful when you need to find specific
commits, when backporting bugs for example. 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 CVS > Search History from the right-click menu or Team > (CVS >)
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. The Search Histories window enables you
to search for changes in version controlled files by:
- Message. The description submitted with the commit.
- Username. The author of the commit.
- From Tag. The tag, revision number, or date from which
the commit was made.
- To Tag. 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 CVS > Search Histories from the right-click menu. The IDE opens the
Search History window to display the selected item's revision history.
- Enter search criteria information in the Message, Name, 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 view other files that were included in a specific
commit, you can broaden your search using the "your_project"
and Open Projects 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 CVS
- Merging File Revisions
- Resolving Merge Conflicts
Legal Notices