CVS

Contents

CVS

Concurrent Versions System

建議

以 unix 上的 cvs 做範例

登入

cvs -d :pserver:USERNAME@imlab.cs.nccu.edu.tw:/home/cvsroot login

取出模組

cvs -d :pserver:USERNAME@imlab.cs.nccu.edu.tw:/home/cvsroot co 模組名

update

cvs update

commit/提交

cvs commit 或 cvs commit [FILENAME1|[FILENAME2]...]

diff/比較

比較本地端和CVS檔案不同處

cvs diff FILENAME

tag/branch

Tag as Version
可以將 Tag 當作版本使用, 例如: RELEASE_0_1 , RELEASE_0_2
Branch
分支, 可以新增分支, 不影響 HEAD , 也可以 merge 回 HEAD, 例如 unstable branch .

範例

Image:IMCanvas.java.png
  • 有 REL_0_0_9 , REL_0_1_0 , REL_0_1_1 , REL_0_1_2 等版本.
  • 有 pctao_working , pctao_working2 等 branch

CVS in Eclipse

相關聯結

CVS

Eclipse + CVS

Other Revision Control System

  • diff/patch (?)
  • RCS and GNU/RCS (Revision Control System)
  • Microsoft Visual Source Safe (VSS)
  • Subversion (SVN)

This page was last modified 01:42, 24 May 2006. This page has been accessed 2,042 times.

  
MediaWiki

Copyright © 2004-2005