close
Warning:
Can't synchronize with repository "(default)" ( does not appear to be a Git repository. See the log for more information.). Look in the Trac log for more information.
- Timestamp:
-
10/12/2017 05:25:58 PM (7 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
1 | | = Viewing Revision Logs = |
| 1 | = Viewing Revision Logs |
2 | 2 | [[TracGuideToc]] |
3 | 3 | |
4 | | When you browse the repository, it's always possible to query the |
5 | | ''Revision Log'' view corresponding to the path you're currently seeing. |
6 | | This will display a list of the most recent changesets in which the |
7 | | current path or any other path below it has been modified. |
| 4 | Each path in the //Repository Browser// contains a contextual navigation link to the //Revision Log//. The //Revision Log// displays a list of the most recent changesets in which the current path or any other path below it has been modified. |
8 | 5 | |
9 | | == The Revision Log Form == |
| 6 | == The Revision Log Form |
10 | 7 | |
11 | | It's possible to set the revision at which the revision log should |
12 | | start, using the ''View log starting at'' field. An empty value |
13 | | or a value of ''head'' is taken to be the newest changeset. |
| 8 | It is possible to set the revision at which the revision log should start, using the ''View log starting at'' field. An empty value or a value of ''head'' is interpreted as the newest changeset. |
14 | 9 | |
15 | | It's also possible to specify the revision at which the log should |
16 | | stop, using the ''back to'' field. By default, it's left empty, |
17 | | which means the revision log will stop as soon as 100 revisions have |
18 | | been listed. |
| 10 | It is also possible to specify the revision at which the log should stop, using the ''Back to'' field. By default it is empty, |
| 11 | which means the revision log will show the [TracIni#revisionlog-default_log_limit-option default log limit], which defaults to the latest 100 revisions. |
19 | 12 | |
20 | | Also, there are three modes of operation of the revision log. |
| 13 | There are three modes of operation of the revision log. |
21 | 14 | |
22 | | By default, the revision log ''stops on copy'', which means that |
23 | | whenever an ''Add'', ''Copy'' or ''Rename'' operation is detected, |
24 | | no older revision will be shown. That's very convenient when working |
25 | | with branches, as one only sees the history corresponding to what |
26 | | has been done on the branch. |
| 15 | By default, the revision log ''stops on copy'', which means that whenever an ''Add'', ''Copy'' or ''Rename'' operation is detected, no older revision will be shown. That's very convenient when working with branches, as one only sees the history for that branch. |
27 | 16 | |
28 | | It's also possible to indicate that one wants to see what happened |
29 | | before a ''Copy'' or ''Rename'' change, by selecting the |
30 | | ''Follow copies'' mode. This will cross all copies or renames changes. |
31 | | Each time the name of the path changes, there will be an additional |
32 | | indentation level. That way, the changes on the different paths |
33 | | are easily grouped together visually. |
| 17 | It is also possible to indicate that one wants include what happened before a ''Copy'' or ''Rename'' change, by selecting the |
| 18 | ''Follow copies'' mode. This will continue to list all revisions across copies and renames. |
| 19 | Each time the name of the path changes, there will be an additional indentation level. That way, the changes on the different paths are easily grouped together visually. |
34 | 20 | |
35 | | It's even possible to go past an ''Add'' change, in order to see |
36 | | if there has been a ''Delete'' change on that path, before |
37 | | that ''Add''. This mode corresponds to the mode called |
38 | | ''Show only adds, moves and deletes''. |
39 | | While quite useful at times, be aware that this operation is quite |
40 | | resource intensive. |
| 21 | It is even possible to go past an ''Add'' change, in order to see if there has been a ''Delete'' change on that path, before |
| 22 | that ''Add''. This mode is labeled ''Show only adds, moves and deletes''. The operation can be quite resource intensive and therefore take some time to display. |
41 | 23 | |
42 | | Finally, there's also a checkbox ''Show full log messages'', |
43 | | which controls whether the full content of the commit log message |
| 24 | Finally, there's a checkbox ''Show full log messages'', which controls whether the full content of the commit log message |
44 | 25 | should be displayed for each change, or only a shortened version of it. |
45 | 26 | |
46 | | == The Revision Log Information == |
| 27 | == The Revision Log Information |
47 | 28 | |
48 | | For each revision log entry, there are 7 columns: |
| 29 | For each revision log entry, the following columns are displayed: |
49 | 30 | 1. The first column contains a pair of radio buttons and should be used |
50 | | for selecting the ''old'' and the ''new'' revisions that will be |
51 | | used for [wiki:TracRevisionLog#viewingtheactualchanges viewing the actual changes]. |
| 31 | for selecting the ''old'' and the ''new'' revisions that will be used for [#InspectingChangesBetweenRevisions viewing the actual changes]. |
52 | 32 | 1. A color code (similar to the one used for the |
53 | | [wiki:TracChangeset#ChangesetHeader changesets]) indicating kind of change. |
| 33 | [TracChangeset#ChangesetHeader changesets]) indicates the kind of change. |
54 | 34 | Clicking on this column refreshes the revision log so that it restarts |
55 | 35 | with this change. |
56 | 36 | 1. The '''Revision''' number, displayed as `@xyz`. |
57 | 37 | This is a link to the TracBrowser, using the displayed revision as the base line. |
58 | | 1. The '''Changeset''' number, displayed as `[xyz]`. |
59 | | This is a link to the TracChangeset view. |
60 | | 1. The '''Date''' at which the change was made. |
61 | | The date is displayed as the time elapsed from the date of the revision. The time |
62 | | elapsed is displayed as the number of hours, days, weeks, months, or years. |
| 38 | Next to it, you can see a little "wheel" icon [[Image(htdocs:../common/changeset.png)]], which is clickable and leads to the TracChangeset view for that revision. |
| 39 | 1. The '''Age'''/'''Date''' at which the change was made. |
| 40 | Depending on your [/prefs/localization session preference], the date is displayed in either //Relative// or //Absolute// format. |
| 41 | * //Relative// format shows the '''Age''': the time elapsed as the number of hours, days, weeks, months, or years. |
| 42 | * //Absolute// format shows the '''Date''' of the revision as a datetime. |
63 | 43 | 1. The '''Author''' of the change. |
64 | 44 | 1. The '''Log Message''', which contains either the truncated or full commit |
65 | 45 | log message, depending on the value of the ''Show full log messages'' |
66 | 46 | checkbox in the form above. |
67 | | |
68 | 47 | |
69 | | == Inspecting Changes Between Revisions == |
| 48 | == Inspecting Changes Between Revisions |
70 | 49 | |
71 | | The ''View changes...'' buttons (placed above and below the list |
72 | | of changes, on the left side) will show the set of differences |
73 | | corresponding to the aggregated changes starting from the ''old'' |
74 | | revision (first radio-button) to the ''new'' revision (second |
| 50 | The ''View changes...'' buttons (placed above and below the list of changes, on the left side) will show the set of differences |
| 51 | corresponding to the aggregated changes starting from the ''old'' revision (first radio-button) to the ''new'' revision (second |
75 | 52 | radio-button), in the TracChangeset view. |
76 | 53 | |
77 | | Note that the ''old'' revision doesn't need to be actually |
78 | | ''older'' than the ''new'' revision: it simply gives a base |
79 | | for the diff. It's therefore entirely possible to easily |
80 | | generate a ''reverse diff'', for reverting what has been done |
| 54 | Note that the ''old'' revision doesn't need to be actually ''older'' than the ''new'' revision: it simply gives a base |
| 55 | for the diff. It's therefore entirely possible to easily generate a ''reverse diff'', for reverting what has been done |
81 | 56 | in the given range of revisions. |
82 | 57 | |
83 | | Finally, if the two revisions are identical, the corresponding |
84 | | changeset will be shown (same effect as clicking on the !ChangeSet number). |
| 58 | Finally, if the two revisions are identical, the corresponding changeset will be shown. This has the same effect as clicking on the changeset number. |
85 | 59 | |
86 | | == Alternative Formats == |
| 60 | == Alternative Formats |
87 | 61 | |
88 | | === The !ChangeLog Text === |
| 62 | === The !ChangeLog Text |
89 | 63 | |
90 | | At the bottom of the page, there's a ''!ChangeLog'' link |
91 | | that will show the range of revisions as currently shown, |
92 | | but as a simple text, matching the usual conventions for |
93 | | !ChangeLog files. |
| 64 | At the bottom of the page, there's a ''!ChangeLog'' link that will show the range of revisions as currently shown, but as a simple text, matching the usual conventions for !ChangeLog files. |
94 | 65 | |
95 | | === RSS Support === |
| 66 | === RSS Support |
96 | 67 | |
97 | | The revision log also provides a RSS feed to monitor the changes. |
98 | | To subscribe to a RSS feed for a file or directory, open its |
99 | | revision log in the browser and click the orange 'XML' icon at the bottom |
100 | | of the page. For more information on RSS support in Trac, see TracRss. |
| 68 | The revision log also provides an RSS feed to monitor the changes. To subscribe to an RSS feed for a file or directory, open its |
| 69 | revision log in the browser and click the orange 'XML' icon at the bottom of the page. For more information on RSS support in Trac, see TracRss. |
101 | 70 | |
102 | 71 | ---- |
103 | | See also: TracBrowser, TracChangeset, TracGuide |
| 72 | See also: TracBrowser, TracChangeset |