前: Cleaning up, 上: A sample session


1.3.4 差分を見る

あなたは driver.c に加えた修正を覚えていなかったので、 何をしたのか調べる必要があります。

     $ cd tc
     $ cvs diff driver.c

このコマンドは diff を実行して、取り出した時と、あなたの作業コ ピーの driver.c のバージョンを比較します。その出力を見て、最適 化経路を有効にするオプションを、コマンド行で指定できるようにしたことを 思い出しました。その変更を格納して、このモジュールに対する作業を終了し ます。

     $ cvs commit -m "Added an optimization pass" driver.c
     Checking in driver.c;
     /usr/local/cvsroot/tc/driver.c,v  <--  driver.c
     new revision: 1.2; previous revision: 1.1
     done
     $ cd ..
     $ cvs release -d tc
     ? tc
     You have [0] altered files in this repository.
     Are you sure you want to release (and delete) directory `tc': y