Changes between Version 4 and Version 5 of TracChangeset


Ignore:
Timestamp:
Sep 18, 2019 12:25:56 PM (5 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracChangeset

    v4 v5  
    1 = Trac Changeset Module =
     1= Trac Changeset Module
     2
    23[[TracGuideToc]]
     4[[PageOutline(2-5,Contents,pullout)]]
    35
    4 Trac has a built-in functionality for visualizing “diffs”, or changes to files.
     6Trac has a built-in functionality for visualizing "diffs", or changes to files.
    57
    68There are different kinds of ''change sets''.  Some correspond to revisions made in the repositories, others aggregate changes made in several revisions. Ultimately, any kind of difference can be shown.
     
    810The changeset view consists of two parts, the ''header'' and the ''diff views''.
    911
    10 == Changeset Header ==
     12== Changeset Header
    1113
    1214The header shows an overview of the whole changeset.
     
    3032The color legend is located below the header as a reminder.
    3133
    32 == Diff Views ==
     34== Diff Views
    3335
    3436Below the header is the main part of the changeset, the diff view. Each file is shown in a separate section, each of which contains only the regions of the file that are affected by the changeset. There are two different styles to display the diffs: ''inline'' or ''side-by-side''. You can switch between the styles using the preferences form:
     
    4143 * You can toggle whether blank lines, case changes and white space changes are ignored, thereby letting you find the functional changes more quickly.
    4244
    43 == The Different Ways to Get a Diff ==
     45== The Different Ways to Get a Diff
    4446
    45 === Examining a Changeset ===
     47=== Examining a Changeset
    4648
    4749When viewing a repository check-in, such as when following a changeset [wiki:TracLinks link] or a changeset event in the [wiki:TracTimeline timeline], Trac will display the exact changes made by the check-in.
     
    4951There will be also navigation links to the ''Previous Changeset'' to and ''Next Changeset''.
    5052
    51 === Examining Differences Between Revisions ===
     53=== Examining Differences Between Revisions
    5254
    5355Often you want to look at changes made on a file or on a directory spanning multiple revisions. The easiest way to get there is from the TracRevisionLog, where you can select the ''old'' and the ''new'' revisions of the file or directory, and then click the ''View changes'' button.
    5456
    55 === Examining Differences Between Branches ===
     57=== Examining Differences Between Branches
    5658
    57 One of the core features of version control systems is the possibility to work simultaneously on different ''Lines of Developments'', commonly called “branches”. Trac enables you to examine the exact differences between such branches.
     59One of the core features of version control systems is the possibility to work simultaneously on different ''Lines of Developments'', commonly called "branches". Trac enables you to examine the exact differences between such branches.
    5860
    5961Using the '''View changes ...''' button in the TracBrowser allows you to enter ''From:'' and ''To:'' path/revision pairs. The resulting set of differences consist of the changes that should be applied to the ''From:'' content to get to the ''To:'' content.
     
    6163For convenience, it is possible to invert the roles of the ''old'' and the ''new'' path/revision pairs by clicking the ''Reverse Diff'' link on the changeset page.
    6264
    63 === Checking the Last Change ===
     65=== Checking the Last Change
    6466
    6567Another way to examine changes is to use the ''Last Change'' link provided by the TracBrowser.