XPressME Integration Kit

Trac

Version 1 から Version 2 における更新: TracChangeset

差分発生行の前後
Ignore:
Timestamp:
Nov 29, 2010, 3:25:28 PM (13 years 前)
Author:
trac (IP: 127.0.0.1)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracChangeset

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