CVS
Contents |
[edit]
CVS
Concurrent Versions System
[edit]
建議
- 建議使用有支援 CVS 的 IDE, 如 Eclipse
- 或者使用 TortoiseCVS
[edit]
以 unix 上的 cvs 做範例
[edit]
登入
cvs -d :pserver:USERNAME@imlab.cs.nccu.edu.tw:/home/cvsroot login
[edit]
取出模組
cvs -d :pserver:USERNAME@imlab.cs.nccu.edu.tw:/home/cvsroot co 模組名
[edit]
update
cvs update
[edit]
commit/提交
cvs commit 或 cvs commit [FILENAME1|[FILENAME2]...]
[edit]
diff/比較
比較本地端和CVS檔案不同處
cvs diff FILENAME
[edit]
tag/branch
- Tag as Version
- 可以將 Tag 當作版本使用, 例如: RELEASE_0_1 , RELEASE_0_2
- Branch
- 分支, 可以新增分支, 不影響 HEAD , 也可以 merge 回 HEAD, 例如 unstable branch .
[edit]
範例
- 有 REL_0_0_9 , REL_0_1_0 , REL_0_1_1 , REL_0_1_2 等版本.
- 有 pctao_working , pctao_working2 等 branch
[edit]
CVS in Eclipse
- 參考 Eclipse/CVS
[edit]
相關聯結
- [Study-Area: 用Open Source工具開發軟體: 新軟體開發關念 - Chapter 3. CVS 版本控制系統(Concurrent Version System)]
- [CVS home]
[edit]
CVS
- CVS 入門
- OSSF 使用手冊 - CVS的使用
- Gentoo Linux 文件 -- Gentoo Linux CVS 教學
- Version Management with CVS
- Open Source Development with CVS, 3rd Edition
- What CVS Is Not: The Lock-Modify-Unlock Model
- What CVS Is: The Copy-Modify-Merge Model
[edit]
Eclipse + CVS
[edit]
Other Revision Control System
- diff/patch (?)
- RCS and GNU/RCS (Revision Control System)
- Microsoft Visual Source Safe (VSS)
- Subversion (SVN)

