Changes between Version 1 and Version 2 of TracRevisionLog
- Время:
- 26 нояб. 2022 г., 14:16:01 (2 года назад)
Обозначения:
- Без изменений
- Добавлено
- Удалено
- Изменено
-
TracRevisionLog
v1 v2 1 = Viewing Revision Logs =1 = Viewing Revision Logs 2 2 [[TracGuideToc]] 3 3 4 When you browse the repository, it is always possible to view the ''Revision Log'' that corresponds to the repository path. Thisdisplays a list of the most recent changesets in which the 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. 5 5 6 == The Revision Log Form ==6 == The Revision Log Form 7 7 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. 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. 9 9 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 latest 100 revisions.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. 12 12 13 Also, there are three modes of operation of the revision log.13 There are three modes of operation of the revision log. 14 14 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 corresponding to what has been done on thebranch.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. 16 16 17 It is also possible to indicate that one wants to see what happened before a ''Copy'' or ''Rename'' change, by selecting the18 ''Follow copies'' mode. This will c ross all copies or renames changes.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 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. 20 20 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 corresponds to the mode called ''Show only adds, moves and deletes''. This operation can be quite resource intensive and therefore take some time to be shown on screen.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. 23 23 24 Finally, there's a lso acheckbox ''Show full log messages'', which controls whether the full content of the commit log message24 Finally, there's a checkbox ''Show full log messages'', which controls whether the full content of the commit log message 25 25 should be displayed for each change, or only a shortened version of it. 26 26 27 == The Revision Log Information ==27 == The Revision Log Information 28 28 29 29 For each revision log entry, the following columns are displayed: 30 1. The first column contains a pair of radio buttons and should be used 31 for selecting the ''old'' and the ''new'' revisions that will be 32 used for [wiki:TracRevisionLog#viewingtheactualchanges viewing the actual changes]. 30 1. The first column contains a pair of radio buttons and should be used 31 for selecting the ''old'' and the ''new'' revisions that will be used for [#InspectingChangesBetweenRevisions viewing the actual changes]. 33 32 1. A color code (similar to the one used for the 34 [ wiki:TracChangeset#ChangesetHeader changesets]) indicatingkind of change.33 [TracChangeset#ChangesetHeader changesets]) indicates the kind of change. 35 34 Clicking on this column refreshes the revision log so that it restarts 36 35 with this change. … … 38 37 This is a link to the TracBrowser, using the displayed revision as the base line. 39 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. 40 1. The '''Date''' at which the change was made. 41 The date is displayed as the time elapsed from the date of the revision. The time 42 elapsed is displayed as the number of hours, days, weeks, months, or years. 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. 43 43 1. The '''Author''' of the change. 44 1. The '''Log Message''', which contains either the truncated or full commit 45 log message, depending on the value of the ''Show full log messages'' 44 1. The '''Log Message''', which contains either the truncated or full commit 45 log message, depending on the value of the ''Show full log messages'' 46 46 checkbox in the form above. 47 48 47 49 == Inspecting Changes Between Revisions ==48 == Inspecting Changes Between Revisions 50 49 51 50 The ''View changes...'' buttons (placed above and below the list of changes, on the left side) will show the set of differences … … 57 56 in the given range of revisions. 58 57 59 Finally, if the two revisions are identical, the corresponding changeset will be shown. This has the 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. 60 59 61 == Alternative Formats ==60 == Alternative Formats 62 61 63 === The !ChangeLog Text ===62 === The !ChangeLog Text 64 63 65 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. 66 65 67 === RSS Support ===66 === RSS Support 68 67 69 The revision log also provides a RSS feed to monitor the changes. To subscribe to aRSS feed for a file or directory, open its68 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 70 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. 71 70 72 71 ---- 73 See also: TracBrowser, TracChangeset , TracGuide72 See also: TracBrowser, TracChangeset