Changes between Version 2 and Version 3 of TracChangeset


Ignore:
Timestamp:
Dec 31, 2005, 4:43:10 PM (18 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracChangeset

    v2 v3  
    1 = チェンジセット =
     1= Trac Changeset Module =
    22[[TracGuideToc]]
    33
    4 Trac にはビジュアル化された diff (ファイル間の差分をとる) 機能が組み込まれています。
     4Trac has a built-in functionality for visualizing “diffs” - changes to files.
    55
    6 == チェンジセットビュー ==
     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.
    710
    8 [wiki:TracLinks Wikiリンク] されたチェンジセットや、[wiki:TracTimeline タイムライン]
    9 のチェンジセットイベント行をクリックしたときに、チェンジセットビューが表示されます。
    10 チェンジセットビューでは、現在の状態と変更前の状態に違いを表示します。
     11The changeset view consists of two parts, the ''header'' and the ''diff views''.
    1112
    12 チェンジセットビューは、 '''ヘッダ''' と '''diff 表示''' の2つの部品で構成されます。
     13== Changeset Header ==
    1314
    14 === チェンジセットヘッダ ===
     15The header shows an overview of the whole changeset.
     16Here you will find information such as:
    1517
    16 ヘッダはチェンジセット全体の概要を表示します。
    17 これには以下の情報が含まれます:
     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
    1822
    19  * コミット日時 -- いつコミットされたか
    20  * コミッタ -- 誰がコミットしたか
    21  * ログメッセージ -- コミッタによるチェンジセットの説明 (コミットログのメッセージ)
    22  * 更新ファイル -- チェンジセットに関連するファイルのリスト
     23In front of each listed file, you'll find  a colored rectangle. The color
     24indicates how the file is affected by the changeset.
     25 
     26 * Green: Added
     27 * Red: Removed
     28 * Yellow: Modified
     29 * Blue: Copied
     30 * Gray: Moved
    2331
    24 リストのそれぞれのファイルの前に、色付きの四角があります。この色は
    25 チェンジセットによって、どのように更新されたか示しています。
    26  
    27  * Green: 追加
    28  * Red: 削除
    29  * Yellow: 更新
     32The color legend is located below the header as a reminder.
    3033
    31 この意味を思い出せるように、ヘッダの下部に色の説明が表示されます。
     34== Diff Views ==
    3235
    33 === diff 表示 ===
     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):
    3437
    35 ヘッダの下は、チェンジセットビューのメインとなる diff 表示です。各ファイルはそれぞれ別のセクションに表示され、それぞれチェンジセットによって更新された部分だけを表示します。 diff の表示は、 ''インライン'' と ''並べて表示'' という、2つの異なるスタイルで表示することができます。(スタイルの切り替えは右上のフォームで変更できます):
     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.
    3640
    37  * ''インライン'' スタイルでは、2つのファイルを重ねて、変更があった行だけを表示します。ファイルから削除された行は赤に、追加された行は緑に着色されます。変更された行は古いリビジョン、新しいリビジョンの順で表示します。左側の行番号は古いリビジョンと、新しいリビジョンの両方で、変更を行った正確な位置を示します。
    38  * ''並べて表示'' スタイルでは、左に古いリビジョン、右に新しいリビジョンを表示します(これは通常、インラインスタイルより多くのスクリーン幅を必要とするでしょう。)。追加だけ、または削除だけが行われた行は、インラインスタイルの場合と同様(それぞれ緑と赤)に着色されますが、変更された行は黄色に着色されます。
    39 
    40 さらに、様々な高度なオプションが用意されています。右上のフォームを使用すると diff の表示を好みに調整することができます。:
    41  * 更新があった行の前後に、それぞれ何行表示するのか指定できます。
    42  * 機能的な変更だけを手早く確認したい場合に、空行、大文字小文字の変更、空白文字の変更をそれぞれ無視することができます。
     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
    4344
    4445----
    45 参考: TracGuide, TracBrowser
     46See also: TracGuide, TracBrowser