上一个: Cleaning up, 上层: A sample session
你忘记了 driver.c 是否被更改,想查询一下这个文件的更改情况。
$ cd tc
$ cvs diff driver.c
这个命令 diff 可以检查 driver.c 的检出版本和工作目录中版本的差异。
看到输出后要你记起增加了一个命令行选项使优化可以执行。提交之后,release
这个模块。
$ 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