Changes between Version 3 and Version 4 of TracChangeset


Ignore:
Timestamp:
Dec 30, 2016, 2:54:46 AM (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracChangeset

    v3 v4  
    1 = Trac チェンジセットモジュール = #TracChangeseModule
     1= Trac Changeset Module
     2
    23[[TracGuideToc]]
     4[[PageOutline(2-5,Contents,pullout)]]
    35
    4 Trac には "diffs" - ファイルの変更箇所を画面表示する機能があります。
     6Trac has a built-in functionality for visualizing "diffs", or changes to files.
    57
    6 ''チェンジセット'' といってもいろいろな種類があります。
    7 あるリビジョンにおけるファイルの変更だったり、
    8 異なるリビジョン間における変更を累積したものもありますが、
    9 結局のところどんな変更箇所でも表示することができます。
     8There 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.
    109
    11 チェンジセットビューは ''ヘッダ'' と
    12 ''diff ビュー'' の 2 つで構成されています。
     10The changeset view consists of two parts, the ''header'' and the ''diff views''.
    1311
    14 == チェンジセットヘッダ == #ChangesetHeader
     12== Changeset Header
    1513
    16 ヘッダは、チェンジセット全体の概要を表示します。
    17 以下のような情報を得ることができます :
     14The header shows an overview of the whole changeset.
     15Here you will find information such as:
    1816
    19  * コミット日時 (英語版では Timestamp) -- チェンジセットがコミットされた日時
    20  * 更新者 (英語版では Author) -- チェンジセットをコミットした人
    21  * ログメッセージ (英語版では Message) -- 更新者による簡単な説明 (コミットログ)
    22  * 場所 (英語版では Location) -- チェンジセットによって更新などの影響を受けた全てのファイルの親ディレクトリ
    23  * ファイル (英語版では Files) -- チェンジセットによって更新などの影響を受けたファイルのリスト
     17 * Timestamp — When the changeset was commited
     18 * Author — Who commited the changeset
     19 * Message — A brief description from the author (the commit log message)
     20 * Location — Parent directory of all files affected by this changeset
     21 * Files — A list of files affected by this changeset
    2422
    25 複数のリビジョンのチェンジセットが含まれる場合、
    26 ''コミット日時'' (英語版では ''Timestamp''), ''更新者'' (英語版では ''Author''), ''ログメッセージ'' (英語版では ''Message'') フィールドは
    27 表示されません。
     23If more than one revision is involved in the set of changes being displayed, the ''Timestamp'', ''Author'' and ''Message'' fields will not be shown.
    2824
    29 リストされているファイル名の前に、色のついた四角が見えるでしょう。
    30 それぞれの色は、チェンジセットによってファイルがどのような影響を受けたかを示しています。
     25A colored rectangle indicates how the file is affected by the changeset:
     26 
     27 [[span(style=background:#bfb;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] Green: Added \\
     28 [[span(style=background:#f88;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] Red: Removed \\
     29 [[span(style=background:#fd8;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] Yellow: Modified \\
     30 [[span(style=background:#88f;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] Blue: Copied \\
     31 [[span(style=background:#ccc;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] Gray: Moved \\
     32The color legend is located below the header as a reminder.
    3133
    32  [[span(style=background:#bfb;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] 緑: 追加 \\
    33  [[span(style=background:#f88;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] 赤: 削除 \\
    34  [[span(style=background:#fd8;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] 黄色: 更新 \\
    35  [[span(style=background:#88f;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] 青: コピー \\
    36  [[span(style=background:#ccc;border:1px solid #999;font-size:80%;margin-right:.5em,''  '')]] グレー: 移動 \\
    37 色の凡例はヘッダの下に備忘録として載っています。
     34== Diff Views
    3835
    39 == diff ビュー == #DiffViews
     36Below 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:
    4037
    41 ヘッダの下がチェンジセットの主な部分となる diff ビューです。それぞれのファイルがセクションで区切って表示されています。そして、各セクションには、チェンジセットによって該当のファイルが影響を受けた部分のみが含まれています。 diff の表示には 2 種類あります: ''インラインで表示'' (英語版では ''inline'') と ''並べて表示'' (英語版では ''side-by-side'') 形式です。 (設定フォームで、 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 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 and 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), and modified regions will have a yellow background.
    4240
    43  * ''インラインで表示'' スタイルはファイルの変更部分を一列で表示します。ファイルから削除された部分は、赤くマーキングされ、追加された部分は緑色にマーキングされます。更新された場合は、古いバージョンは新しいバージョンの上に表示されます。左側の行番号は古いバージョンと新しいバージョンのファイルのそれぞれ変更があった行番号を示しています
    44  * ''並べて表示'' スタイルは古いバージョンを左側に、新しいバージョンは右側に表示されます (インラインスタイルよりも横幅が長い画面が必要となるでしょう。) 追加または削除された部分はインラインスタイルと同様に色づけ (それぞれ緑、赤で) されます。更新された部分は黄色の背景で表示されます
     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; if the value ''all'' is used, then the full file will be shown.
     43 * You can toggle whether blank lines, case changes and white space changes are ignored, thereby letting you find the functional changes more quickly.
    4544
    46 加えて、設定フォームで diff の表示方法を調整するためのいろいろなオプションを利用可能となっています:
    47  * 差分の発生行の前後に何行表示するかを設定することができます
    48    (''all'' を使用するとファイル全体が表示されます)
    49  * 空白行、大文字/小文字、空白文字の変更を無視リストに追加することができます。これらを設定することによって、より素早く機能上の変更を見ることが可能になります
     45== The Different Ways to Get a Diff
    5046
     47=== Examining a Changeset
    5148
    52 == diff を見る他の方法 == #TheDifferentWaysToGetaDiff
     49When 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.
    5350
    54 === チェンジセットを見る === #ExaminingaChangeset
     51There will be also navigation links to the ''Previous Changeset'' to and ''Next Changeset''.
    5552
    56 リポジトリへのチェックインを見る (チェンジセットの [wiki:TracLinks リンク] や
    57 [wiki:TracTimeline タイムライン] のチェンジセットイベントを辿るなどの操作を行う)
    58 と、 Trac はチェックインによって発生した変更箇所を
    59 表示します。
     53=== Examining Differences Between Revisions
    6054
    61 そのとき、ナビゲーションリンクに ''前のチェンジセット'' (英語版では ''Previous Changeset'')
    62 と ''次のチェンジセット'' (英語版では ''Next Changeset'') も表示されます。
     55Often 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.
    6356
    64 === リビジョン間の diff を見る === #ExaminingDifferencesBetweenRevisions
     57=== Examining Differences Between Branches
    6558
    66 しばしばファイルやディレクトリの複数のリビジョンをまたがった変更を見たい
    67 ことがあるでしょう。
    68 もっとも簡単な方法は TracRevisionLog から取得することです。
    69 そして、 ファイルやディレクトリの '''旧''' リビジョンと '''新''' リビジョンを選択し、
    70 ''更新を見る'' (英語版では ''View changes'') ボタンをクリックします。
     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.
    7160
    72 === ブランチ間の diff を見る === #ExaminingDifferenceBetweenBranches
     61Using 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.
    7362
    74 バージョン管理システムの主となる特徴の一つとして、
    75 一般的に "ブランチ" と呼ばれる ''開発系統'' が同時に 2 つ以上走る可能性があるということです。
    76 Trac はこのような ブランチ間の diff を
    77 をみることを可能にしています。
     63For 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.
    7864
    79 TracBrowser の '''差分を表示''' (英語版では '''View changes...''') ボタンをクリックすることにより、任意の
    80 パスとリビジョンの ''Base (From)'' と ''Target (To)'' を選択するフォームを表示します。
    81 diff の一覧は ''To:'' の内容に合わせるために ''From:'' の内容に適用するべき
    82 変更点でできています。
     65=== Checking the Last Change
    8366
    84 チェンジセットのページの ''Diff を反転'' (英語版では ''Reverse Diff'') リンクをクリックすることによって、
    85 '''旧''' と '''新''' のパス/リビジョンの役割を反転させることが可能です。
     67Another way to examine changes is to use the ''Last Change'' link provided by the TracBrowser.
    8668
    87 === 最終更新をみる === #CheckingtheLastChange
    88 
    89 最後に残った操作として、
    90 TracBrowser が提供する ''最終更新'' (英語版では ''Last Change'') リンクがあります。
    91 
    92 このリンクはそのパスで起こった最後の変更を表示します。
    93 そこから、 ''前の更新'' (英語版では ''Previous Change'') と ''次の更新'' (英語版では ''Next Change'') リンクを使用
    94 することで、そのファイルやディレクトリの変更履歴を横断的に見ることができます。
     69This link will take you to the last change that was made on that path. From there, you can use the ''Previous Change'' and ''Next Change'' links to traverse the change history of the file or directory.
    9570
    9671----