Changes between Version 2 and Version 3 of TracChangeset


Ignore:
Timestamp:
May 2, 2019, 9:45:05 AM (14 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracChangeset

    v2 v3  
    1 = Trac Changeset Module
     1= Trac Changeset Module =
     2[[TracGuideToc]]
    23
    3 [[TracGuideToc]]
    4 [[PageOutline(2-5,Contents,pullout)]]
    5 
    6 Trac has a built-in functionality for visualizing "diffs", or changes to files.
     4Trac has a built-in functionality for visualizing “diffs”, or changes to files.
    75
    86There 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.
     
    108The changeset view consists of two parts, the ''header'' and the ''diff views''.
    119
    12 == Changeset Header
     10== Changeset Header ==
    1311
    1412The header shows an overview of the whole changeset.
     
    3230The color legend is located below the header as a reminder.
    3331
    34 == Diff Views
     32== Diff Views ==
    3533
    3634Below 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:
     
    4341 * You can toggle whether blank lines, case changes and white space changes are ignored, thereby letting you find the functional changes more quickly.
    4442
    45 == The Different Ways to Get a Diff
     43== The Different Ways to Get a Diff ==
    4644
    47 === Examining a Changeset
     45=== Examining a Changeset ===
    4846
    4947When 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.
     
    5149There will be also navigation links to the ''Previous Changeset'' to and ''Next Changeset''.
    5250
    53 === Examining Differences Between Revisions
     51=== Examining Differences Between Revisions ===
    5452
    5553Often 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.
    5654
    57 === Examining Differences Between Branches
     55=== Examining Differences Between Branches ===
    5856
    59 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.
     57One 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.
    6058
    6159Using 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.
     
    6361For 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.
    6462
    65 === Checking the Last Change
     63=== Checking the Last Change ===
    6664
    6765Another way to examine changes is to use the ''Last Change'' link provided by the TracBrowser.