Changes between Version 1 and Version 2 of TracChangeset


Ignore:
Timestamp:
Jan 16, 2006, 10:33:16 AM (14 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracChangeset

    v1 v2  
    11= Trac Changeset Module =
    2 Trac has a built-in functionality for visualizing diffs - changes to files.
     2[[TracGuideToc]]
    33
    4 == The Changeset View ==
     4Trac has a built-in functionality for visualizing “diffs” - changes to files.
    55
    6 When viewing a commited changeset, such as when clicking a changeset
    7 [wiki:TracLinks TracLink] or a changeset event-line in the
    8 [wiki:TracTimeline timeline], Trac will display what changes this current set of patches imposes.
     6When viewing a repository check-in, such as when following a
     7changeset [wiki:TracLinks link] or a changeset event in the
     8[wiki:TracTimeline timeline], Trac will display the exact changes
     9made by the check-in.
    910
    10 The changeset view consists of two parts, the '''header''' and the '''diff view'''.
     11The changeset view consists of two parts, the ''header'' and the ''diff views''.
    1112
    12 === Changeset Header ===
     13== Changeset Header ==
    1314
    14 The diff body shows an overview of the whole changeset.
     15The header shows an overview of the whole changeset.
    1516Here you will find information such as:
    1617
    17  * Revision -- The unique revision ID for this changeset.
    18  * Timestamp -- When the changeset was commited.
    19  * Author -- Who commited the changeset.
    20  * Message -- A brief description from the author (the commit log message).
    21  * Files -- A list of files affected by this changeset.
     18 * Timestamp -- When the changeset was commited
     19 * Author -- Who commited the changeset
     20 * Message -- A brief description from the author (the commit log message)
     21 * Files -- A list of files affected by this changeset
    2222
    2323In front of each listed file, you'll find  a colored rectangle. The color
     
    2626 * Green: Added
    2727 * Red: Removed
    28  * Orange: Modified
     28 * Yellow: Modified
     29 * Blue: Copied
     30 * Gray: Moved
    2931
    3032The color legend is located below the header as a reminder.
    3133
    32 === Diff View ===
    33 Below the header is the main part of the changeset, the diff view.
     34== Diff Views ==
    3435
    35 Each file is shown in a separate section, divided by a dashed line in the
    36 center. This is a '''side-by-side''' view showing only the portions of the file
    37 affected by this changeset.
     36Below the header is the main part of the changeset, the diff view. Each file is shown in a separate section, each of which will contain only the regions of the file that are affected by the changeset. There are two different styles of displaying the diffs: ''inline'' or ''side-by-side'' (you can switch between those styles using the preferences form):
    3837
    39 On the left hand side are the contents of the old version of the file, on the
    40 right side the new. To visualize the difference between the old and new
    41 version, each block of lines altered by the changeset has a colored
    42 background. The color reflect the change, and the meaning the same as in the
    43 header (see above).
     38 * The ''inline'' style shows the changed regions of a file underneath each other. A region removed from the file will be colored red, an added region will be colored green. If a region was modified, the old version is displayed above the new version. Line numbers on the left side indicate the exact position of the change in both the old and the new version of the file.
     39 * The ''side-by-side'' style shows the old version on the left and the new version on the right (this will typically require more screen width than the inline style.) Added and removed regions will be colored in the same way as with the inline style (green and red, respectively), but modified regions will have a yellow background.
     40
     41In addition, various advanced options are available in the preferences form for adjusting the display of the diffs:
     42 * You can set how many lines are displayed before and after every change
     43 * You can toggle whether blank lines, case changes and white space changes are ignored, thereby letting you find the functional changes more quickly
    4444
    4545----