What is CVS? CVS简介 CVS, or the Concurrent Versioning System, is a version control 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,并发版本系统,是一个版本控制系统,它通常作为软件开发周期的一部分,用来跟踪和定位开发团队的源代码修改历程。www.shengfang.org For example, bugs sometimes creep in when software is modified, and you might not detect the bug until a long time after you make the modification. With CVS, you can easily retrieve old versions to see exactly which change caused the bug. This can sometimes be a big help. 例如,当修改软件的时候,经常会有BUG偷偷地混入近来,经常在你修改完毕很久以后才发现这个BUG的存在,如果使用CVS,你就可以很容易的找回旧版本,并且准确的定位谁的修改导致这个BUG。这样的话是一个很好的帮助。www.shengfang.org You could of course save every version of every file you have ever created. This would however waste an enormous amount of disk space. CVS stores all the versions of a file in a single file in a clever way that only stores the differences between versions. 当然,你也可以把你每次创建的每一个文件的每一个版本都保存起来,但是显而易见,这将浪费很大的硬盘空间。CVS保存一个文件的所有版本的时候,它仅仅只要一个文件,它每次只是保存文件版本之间的差异。 CVS also helps you if you are part of a group of people working on the same project. It is all too easy to overwrite each others' changes unless you are extremely careful. Some editors, like GNU Emacs, try to make sure that the same file is never modified by two people at the same time. Unfortunately, if someone is using another editor, that safeguard will not work. CVS solves this problem by insulating the different developers from each other. Every developer works in his own sandbox, and CVS merges the work when each developer is done. 作为开发同一个项目的项目团队的一员,CVS可以帮助你,在团队开发中,除非你是一个非常仔细,否则覆盖别人的修改是一个非常简单的事情。许多编辑器,例如GNU EMACS,它的解决方法是当一个文件在同一时间被两个人打开的时候提示需要确认。但是不幸的是,如果有人使用的是另外一种编辑器,这个安全机制将毫无作用。CVS解决了这个问题,它使每个开发者之间彼此绝缘互不干扰,每个开发者都工作于他自己的沙盒,当他们工作完成之后,CVS再合并他们的工作。www.shengfang.org 沙盒:是Wiki系统里专门用于练习编辑页面技术的试验页面。意思类似于古代人以沙为纸,以苇为笔,当写完一遍后,将沙摩平,又可以重新再写。 www.shengfang.org 今天报纸上说 中文 呱呱坠地 一般人都是 拼音为 GUA1 GUA1 ZHUI4 DI4,实际上应该是 GU1 GU1。 呱 gū 〈名〉 字体:大 中 小 |
![]() | 永久地址 http://www.shengfang.org/blog/p/Tcvshelp1whatcvs.php |
![]() | 引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1119962968 |
2005年6月28日20:49星期二 [English]






