TracChangesetバージョン 1バージョン 2 との変更


以下の違いを無視:
日時:
2015/05/27 0:24:03 (11年前)
更新者:
trac
コメント:

--

凡例:

変更なし
追加
削除
更新
  • TracChangeset

    v1 v2  
    1 = Trac Changeset Module =
     1= Trac チェンジセットモジュール = #TracChangeseModule
    22[[TracGuideToc]]
    33
    4 Trac has a built-in functionality for visualizing “diffs” - changes to files.
     4Trac には "diffs" - ファイルの変更箇所を画面表示する機能があります。
    55
    6 There are different kinds of ''change sets''.
    7 Some can correspond to revisions made in the repositories,
    8 others can aggregate changes made in several revisions,
    9 but in the end, any kind of differences can be shown.
     6''チェンジセット'' といってもいろいろな種類があります。
     7あるリビジョンにおけるファイルの変更だったり、
     8異なるリビジョン間における変更を累積したものもありますが、
     9結局のところどんな変更箇所でも表示することができます。
    1010
    11 The changeset view consists of two parts, the ''header''
    12 and the ''diff views''.
     11チェンジセットビューは ''ヘッダ'' と
     12''diff ビュー'' の 2 つで構成されています。
    1313
    14 == Changeset Header ==
     14== チェンジセットヘッダ == #ChangesetHeader
    1515
    16 The header shows an overview of the whole changeset.
    17 Here you will find information such as:
     16ヘッダは、チェンジセット全体の概要を表示します。
     17以下のような情報を得ることができます :
    1818
    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  * Location — Parent directory of all files affected by this changeset
    23  * Files — A list of files affected by this changeset
     19 * コミット日時 (英語版では Timestamp) -- チェンジセットがコミットされた日時
     20 * 更新者 (英語版では Author) -- チェンジセットをコミットした人
     21 * ログメッセージ (英語版では Message) -- 更新者による簡単な説明 (コミットログ)
     22 * 場所 (英語版では Location) -- チェンジセットによって更新などの影響を受けた全てのファイルの親ディレクトリ
     23 * ファイル (英語版では Files) -- チェンジセットによって更新などの影響を受けたファイルのリスト
    2424
    25 If more than one revision is involved in the set of changes being
    26 displayed, the ''Timestamp'', ''Author'' and ''Message'' fields
    27 won't be shown.
     25複数のリビジョンのチェンジセットが含まれる場合、
     26''コミット日時'' (英語版では ''Timestamp''), ''更新者'' (英語版では ''Author''), ''ログメッセージ'' (英語版では ''Message'') フィールドは
     27表示されません。
    2828
    29 In front of each listed file, you'll find  a colored rectangle. The color
    30 indicates how the file is affected by the changeset.
    31  
    32  [[span(style=background:#bfb;border:1px solid #999;font-size:80%;margin-right:.5em,`  `)]] Green: Added \\
    33  [[span(style=background:#f88;border:1px solid #999;font-size:80%;margin-right:.5em,`  `)]] Red: Removed \\
    34  [[span(style=background:#fd8;border:1px solid #999;font-size:80%;margin-right:.5em,`  `)]] Yellow: Modified \\
    35  [[span(style=background:#88f;border:1px solid #999;font-size:80%;margin-right:.5em,`  `)]] Blue: Copied \\
    36  [[span(style=background:#ccc;border:1px solid #999;font-size:80%;margin-right:.5em,`  `)]] Gray: Moved \\
    37 The color legend is located below the header as a reminder.
     29リストされているファイル名の前に、色のついた四角が見えるでしょう。
     30それぞれの色は、チェンジセットによってファイルがどのような影響を受けたかを示しています。
    3831
    39 == Diff Views ==
     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色の凡例はヘッダの下に備忘録として載っています。
    4038
    41 Below 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):
     39== diff ビュー == #DiffViews
    4240
    43  * 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.
    44  * 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.
     41ヘッダの下がチェンジセットの主な部分となる diff ビューです。それぞれのファイルがセクションで区切って表示されています。そして、各セクションには、チェンジセットによって該当のファイルが影響を受けた部分のみが含まれています。 diff の表示には 2 種類あります: ''インラインで表示'' (英語版では ''inline'') と ''並べて表示'' (英語版では ''side-by-side'') 形式です。 (設定フォームで、 2 つのスタイルを切り替えることができます):
    4542
    46 In addition, various advanced options are available in the preferences form for adjusting the display of the diffs:
    47  * You can set how many lines are displayed before and after every change
    48    (if the value ''all'' is used, then the full file will be shown)
    49  * You can toggle whether blank lines, case changes and white space changes are ignored, thereby letting you find the functional changes more quickly
     43 * ''インラインで表示'' スタイルはファイルの変更部分を一列で表示します。ファイルから削除された部分は、赤くマーキングされ、追加された部分は緑色にマーキングされます。更新された場合は、古いバージョンは新しいバージョンの上に表示されます。左側の行番号は古いバージョンと新しいバージョンのファイルのそれぞれ変更があった行番号を示しています
     44 * ''並べて表示'' スタイルは古いバージョンを左側に、新しいバージョンは右側に表示されます (インラインスタイルよりも横幅が長い画面が必要となるでしょう。) 追加または削除された部分はインラインスタイルと同様に色づけ (それぞれ緑、赤で) されます。更新された部分は黄色の背景で表示されます
     45
     46加えて、設定フォームで diff の表示方法を調整するためのいろいろなオプションを利用可能となっています:
     47 * 差分の発生行の前後に何行表示するかを設定することができます
     48   (''all'' を使用するとファイル全体が表示されます)
     49 * 空白行、大文字/小文字、空白文字の変更を無視リストに追加することができます。これらを設定することによって、より素早く機能上の変更を見ることが可能になります
    5050
    5151
    52 == The Different Ways to Get a Diff ==
     52== diff を見る他の方法 == #TheDifferentWaysToGetaDiff
    5353
    54 === Examining a Changeset ===
     54=== チェンジセットを見る === #ExaminingaChangeset
    5555
    56 When viewing a repository check-in, such as when following a
    57 changeset [wiki:TracLinks link] or a changeset event in the
    58 [wiki:TracTimeline timeline], Trac will display the exact changes
    59 made by the check-in.
     56リポジトリへのチェックインを見る (チェンジセットの [wiki:TracLinks リンク] や
     57[wiki:TracTimeline タイムライン] のチェンジセットイベントを辿るなどの操作を行う)
     58と、 Trac はチェックインによって発生した変更箇所を
     59表示します。
    6060
    61 There will be also navigation links to the ''Previous Changeset''
    62 to and ''Next Changeset''.
     61そのとき、ナビゲーションリンクに ''前のチェンジセット'' (英語版では ''Previous Changeset'')
     62と ''次のチェンジセット'' (英語版では ''Next Changeset'') も表示されます。
    6363
    64 === Examining Differences Between Revisions ===
     64=== リビジョン間の diff を見る === #ExaminingDifferencesBetweenRevisions
    6565
    66 Often you'll want to look at changes made on a file
    67 or on a directory spanning multiple revisions. The easiest way
    68 to get there is from the TracRevisionLog, where you can select
    69 the ''old'' and the ''new'' revisions of the file or directory, and
    70 then click the ''View changes'' button.
     66しばしばファイルやディレクトリの複数のリビジョンをまたがった変更を見たい
     67ことがあるでしょう。
     68もっとも簡単な方法は TracRevisionLog から取得することです。
     69そして、 ファイルやディレクトリの '''旧''' リビジョンと '''新''' リビジョンを選択し、
     70''更新を見る'' (英語版では ''View changes'') ボタンをクリックします。
    7171
    72 === Examining Differences Between Branches ===
     72=== ブランチ間の diff を見る === #ExaminingDifferenceBetweenBranches
    7373
    74 One of the core features of version control systems is the possibility
    75 to work simultaneously on different ''Lines of Developments'', commonly
    76 called “branches”. Trac enables you to examine the exact differences
    77 between such branches.
     74バージョン管理システムの主となる特徴の一つとして、
     75一般的に "ブランチ" と呼ばれる ''開発系統'' が同時に 2 つ以上走る可能性があるということです。
     76Trac はこのような ブランチ間の diff を
     77をみることを可能にしています。
    7878
    79 Using the '''View changes ...''' button in the TracBrowser allows you to enter
    80 ''From:'' and ''To:'' path/revision pairs. The resulting set of differences consist
    81 of the changes that should be applied to the ''From:'' content in order
    82 to get to the ''To:'' content.
     79TracBrowser の '''差分を表示''' (英語版では '''View changes...''') ボタンをクリックすることにより、任意の
     80パスとリビジョンの ''Base (From)'' と ''Target (To)'' を選択するフォームを表示します。
     81diff の一覧は ''To:'' の内容に合わせるために ''From:'' の内容に適用するべき
     82変更点でできています。
    8383
    84 For convenience, it is possible to invert the roles of the ''old'' and the ''new''
    85 path/revision pairs by clicking the ''Reverse Diff'' link on the changeset page.
     84チェンジセットのページの ''Diff を反転'' (英語版では ''Reverse Diff'') リンクをクリックすることによって、
     85'''旧''' と '''新''' のパス/リビジョンの役割を反転させることが可能です。
    8686
    87 === Checking the Last Change ===
     87=== 最終更新をみる === #CheckingtheLastChange
    8888
    89 The last possibility for examining changes is to use the ''Last Change''
    90 link provided by the TracBrowser.
     89最後に残った操作として、
     90TracBrowser が提供する ''最終更新'' (英語版では ''Last Change'') リンクがあります。
    9191
    92 This link will take you to the last change that was made on that path.
    93 From there, you can use the ''Previous Change'' and ''Next Change'' links
    94 to traverse the change history of the file or directory.
     92このリンクはそのパスで起こった最後の変更を表示します。
     93そこから、 ''前の更新'' (英語版では ''Previous Change'') と ''次の更新'' (英語版では ''Next Change'') リンクを使用
     94することで、そのファイルやディレクトリの変更履歴を横断的に見ることができます。
    9595
    9696----