源码管理 之 CVS

一、概述
CVS
Concurrent Versioning System )是目前比较流行与优秀的版本管理与控制工具。Version control systems are generally used as part of the software development cycle to track and co-ordinate source code changes among a team of developers.现在开源工程用的比较多,CVS本身是开源的,是微软的VSS功能类似的东西。

二、术语

1、           Repository-------仓库: CVS服务器的根目录。模块(Module)的集合

2、           Module------------模块:CVS服务器根目录下的第一级子目录。通常用于存放一个项目的所有文件

3、           Checkout----------检出: 通常指仓库中的一整个模块首次导出到本地。

4、           Import------------导入:通常指通过提交整个目录结构并创建一个新的模块。

5、           Release-------发行版本:整个产品的版本

6、           Revision--------修订版:单个文件的版本

7、           Tag---------------标签:在一个开发的特定期对一个文件集给定的符号名

8、           Update------------更新:从模块中下载其他人的修改过的文件。更新本地的拷贝。

9、           Commit------------提交:将自己修改过的文件提交到模块中。

三、经验 --摘自《CVS Best Practices》
    1、Stay in sync with the repository
    2、Do not work outside the sandbox
    3、Check−in Often
    4、After each release, the entire code base must be tagged with an identifier that can help in uniquely identifying the release.
    5、After each software release, once the CVS repository is tagged, a branch has to be immediately created.This branch will serve as the bug fix baseline for that release.
    6、After each release from a branch, the changes made to the branch should be merged with the trunk.
    7、Build Early and Build Often (BEBO)

转载于:https://www.cnblogs.com/menghe/articles/97723.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值