1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
"http://www.w3.org/TR/html4/loose.dtd">
4
* Copyright © 2007 Sun Microsystems, Inc. All rights reserved.
5
* Use is subject to license terms.
9
<title>Subversion: History Viewer</title>
10
<link href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/ide.css"
11
rel="StyleSheet" type="text/css">
14
<h2>Subversion: History Viewer</h2>
16
<p><small><a href="#seealso">See Also</a></small></p>
18
<p>The IDE's History Viewer enables you to view a summary of a file's evolution
19
over time based on revision number. The History Viewer also allows you to
20
<a href="#revert">revert</a> (i.e. rollback) changes to a previous revision.
22
<p>You open the History Viewer by right-clicking a versioned file or folder
23
(e.g. in the Projects, Files, or Favorites windows) and choosing Subversion
24
> Search History.</p>
26
<p>This window enables you to see the history of committed changes for the selected file
27
or folder. You can use the following criteria to search for files or folders:</p>
30
<li><strong>Message</strong>. Enter the name of a message to search for the revisions of
31
files or folders committed with that message.</li>
32
<li><strong>Username</strong>. Enter a username to search for the revisions of files
33
or folders committed by that user.</li>
34
<li><strong>From</strong>. Enter a tag, branch, revision or date of a message to search
35
for the revisions of files or folders committed after that tag, branch, revision or
36
date. Click the Browse button to search for a branch or tag.</li>
37
<li><strong>To</strong>. Enter a tag, branch, revision or date of a message to search
38
for the revisions of files or folders committed before that tag, branch, revision
39
or date. Click the Browse button to search for a branch or tag.</li>
42
<p>When you click the Search button, files and folders meeting the specified criteria are
43
displayed in the lower pane of the History Viewer. You can view search results in
44
two unique views: Summary view and Diff view:</p>
47
<li><strong>Summary</strong>. Displays a list containing the details of the results matching
48
the specified search criteria. Each row corresponds to a revision obtained from the
49
repository. If your search criteria specified a folder, all files contained therein are
50
displayed beneath the revision heading.</li>
51
<li><strong>Diff</strong>. Displays the IDE's graphical Diff Viewer enabling you to compare two
52
revisions side by side. A tree view of the commit results displays above the diff viewer
53
allowing you to arbitrarily select revisions to compare. Expand the tree and click on a
54
revision to compare the changes between the selected revision and the previous revision.</li>
58
<li>When working in the Diff view, you can format the table display of the upper tree view.
59
To do so, choose List Options > Change Visible Columns from the right-click menu of
60
any selected row. A dialog appears allowing you to specify which columns to display.
61
Listed columns include:
64
<li><strong>File Revision:</strong> Revision and Name of the File (mandatory)</li>
65
<li><strong>Message:</strong> Commit Message (optional)</li>
66
<li><strong>Time: </strong>Time of Message (optional)</li>
67
<li><strong>User: </strong>Author of the Change (optional)</li>
70
You can also change the order in which columns are displayed in the table. To do so,
71
click on a column heading in the table and drag it to the desired location.</li>
75
<p>Depending on whether you are working in the Summary view or the Diff view, you
76
can revert changes made in a selected revision:</p>
79
<li>If you are working in the Summary view, select revision row and either:
81
<li>right-click the row and choose Rollback Changes</li>
82
<li>click Revert in the lower right corner of that row.</li>
84
<li>If you are working in the Diff view, select a file revision from the tree
85
view and choose Rollback Changes from the right-click menu.</li>
89
<dt><a name="seealso">See Also</a></dt>
90
<dd><a href="../svn_histories.html">Working with Version Histories</a></dd>
94
<small><a href="../../credits.html">Legal Notices</a></small>
b'\\ No newline at end of file'