Changes between Version 2 and Version 3 of TracChangeset


Ignore:
Timestamp:
11/18/04 18:02:59 (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracChangeset

    v2 v3  
    11= Trac Changeset Module =
     2[[TracGuideToc]]
     3
    24Trac has a built-in functionality for visualizing diffs - changes to files.
    35
     
    1214=== Changeset Header ===
    1315
    14 The diff body shows an overview of the whole changeset.
     16The header shows an overview of the whole changeset.
    1517Here you will find information such as:
    1618
    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.
     19 * Timestamp -- When the changeset was commited
     20 * Author -- Who commited the changeset
     21 * Message -- A brief description from the author (the commit log message)
     22 * Files -- A list of files affected by this changeset
    2223
    2324In front of each listed file, you'll find  a colored rectangle. The color
     
    2627 * Green: Added
    2728 * Red: Removed
    28  * Orange: Modified
     29 * Yellow: Modified
    2930
    3031The color legend is located below the header as a reminder.
    3132
    3233=== Diff View ===
    33 Below the header is the main part of the changeset, the diff view.
    3434
    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.
     35Below 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):
    3836
    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).
     37 * The ''inline'' style shows the changed regions of a file underneath eachother. 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.
     38 * The ''side-by-side'' style shows the old version of 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.
     39
     40In addition, various advanced options are available in the preferences form for adjusting the display of the diffs:
     41 * You can set how many lines are displayed before and after every change
     42 * You can toggle whether blank lines, case changes and white space changes are ignored, thereby letting you find the functional changes more quickly
    4443
    4544----