Previous: Cleaning up, Up: A sample session   [Contents][Index]


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