The Mercurial History window enables you to search the history of changes of the relevant file(s) on branch and date. It also supports diff to a previous revision, backing out a revision from the repository, and view of a revision.
You can access the Mercurial History window by selecting a versioned file (for example, from the Projects or Files window) and choosing either Team > (Mercurial >) Search History from the main menu or Mercurial > Search History from the right-click menu.
This topic introduces the following Mercurial History window features:
The history toolbar is at the top of the Mercurial History window.
The following table lists components for the commands that are available in the Mercurial History toolbar for the currently displayed project or file.
Go to Previous Difference (![]() |
Highlights the previous difference found between versions. |
Go to Next Difference (![]() |
Highlights the next difference found between versions. |
Show All Change Paths (check-box) | Displays all files in a changeset. |
Filter (drop-down list) contains | Displays only those revisions that match the criteria you specified for the selected filter (No Filter, Revision, Message, or User). |
The Summary view displays a list containing the details of the results matching the specified search criteria. Each row corresponds to a revision obtained from the repository.
The Diff Viewer is divided into two panes:
The Diff Viewer provides the following UI components:
Blue ( ) | Indicates lines that have been changed since the earlier revision. |
Green ( ) | Indicates lines that have been added since the earlier revision. |
Red ( ) | Indicates lines that have been removed since the earlier revision. |
You can adjust the size of the Diff Viewer panes by dragging the divider between them.
You can use the following criteria to search for files or folders:
When you click the Search button, revisions meeting the specified criteria are displayed in Mercurial History window.
You can view search results in the following two views: