CVS、SVN工具可不可以用在互联网上,怎么用?

2024-12-25 01:12:28
推荐回答(4个)
回答1:

1.cvs
CVS (Concurrent Versions System) is a tool used by many software developers to manage changes within their
source code tree. CVS provides the means to store not only the current version of a piece of source code,
but a record of all changes (and who made those changes) that have occurred to that source code. Use of CVS
is particularly common on projects with multiple developers, since CVS ensures changes made by one
developer are not accidentally removed when another developer posts their changes to the source tree.

2.svn
SVN (Subversion) is a tool used by many software developers to manage changes within their source code
tree. SVN provides the means to store not only the current version of a piece of source code, but a record
of all changes (and who made those changes) that have occurred to that source code. Use of SVN is
particularly common on projects with multiple developers, since SVN ensures changes made by one developer
are not accidentally removed when another developer posts their changes to the source tree

同样的描述,只不过将cvs替换成了svn。

在sourceforge上的某一个项目上,都会看到一个public的链接,这个链接提供了想要下载这个项目的cvs或svn地址。点击
public会看到,cvs repository或 svn repository,点击这个链接会看到项目的下载地址,
比如:
cvs的
[cvs -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct login]
[cvs -z3 -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct co -P modulename]
svn的
[svn co https://scummvm.svn.sourceforge.net/svnroot/scummvm scummvm]
同时,你在cvs repository或 svn repository的下面还会看到browse cvs或browse svn这个是用来浏览项目目录的。
如果你使用wincvs,点admin菜单的command line里输入命令:
cvs -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct login
他会问你password,直接回车就行。
然后,接着在命令行接着键入下面的命令:
cvs -z3 -d:pserver:anonymous@construct.cvs.sourceforge.net:/cvsroot/construct co -P modulename
这里的modulename就是你在browse cvs里看到的,你想要下载的模块名,如果你想下载项目的所有文件,modulename写成
你在browse cvs里看到的根路径名。

如果,项目是通过svn管理的,则你需要下载tortoiseSVN。tortoiseSVN和wincvs不同,她不是一个带界面的软件,安装完
之后,会在windows右键查单中出现,在你要保存项目的磁盘位置,新建一个文件夹,右键该文件夹,会看到一个svn
checkout菜单项,点击后,弹出一个对话框,在url of repository中输入上面的:
[https://scummvm.svn.sourceforge.net/svnroot/scummvm scummvm],就可以把项目下载下来了。

回答2:

能用在局域网中就能用在互联网,在cvs客户端中设置cvs服务器的ip地址,以及端口,用户名,密码,你可以试试。

回答3:

cvs,svn一般是单向的,就是客户端向服务器提交文件,或者从服务器更新下载文件,如果要远程提交或者更新,服务端就要配广域网的ip.

回答4:

svn支持http协议,可以在浏览器中使用。cvs可以看作是out了。