今天开始熟悉了一下SUBVERSION,没有使用APACHE,使用本地文件方式。 一、前期准备 subversion http://subversion.tigris.org/ 主页 下载 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 我下载的是:http://subversion.tigris.org/files/documents/15/23230/svn-1.2.0-setup.exe svn-1.2.0-setup.exe Stable josander on Monday, May 23, 2005 at 1:04:13 PM 3.03 mB Windows installer with the basic win32 binaries Info svn-win32-1.2.0.zip 是源代码,但是我打开里面的VC DSW工程文件,无法编译通过。subversion The goal of the Subversion project is to build a version control system that is a compelling replacement for CVS in the open source community.
tortoisesvn http://tortoisesvn.tigris.org/ 主页 下载:http://tortoisesvn.tigris.org/download.html 我下载的是:http://tortoisesvn.tigris.org/files/documents/406/23442/TortoiseSVN-1.2.0-svn-1.2.0.msi Version 1.2.0.3602 for Win2k/XP (8.2 MB)tortoisesvn TortoiseSVN is a Subversion client, implemented as a windows shell extension. The coolest Interface to (Sub)Version Control.
还有一个特别版本,修正VS.NET WEB开发的问题,用 _svn文件夹名称替换 .SVN 名称 Version 1.2.0.3602 for Win2k/XP (7.7 MB) (special version! We provide NO support for this!) uses _svn folders instead of .svn to work around the VS.NET bug with web projects. If you don't use web projects then please use the official version. Note: working copies created by this version are incompatible with other Subversion clients! tsvn的语言包 Language Packs for 1.2.0 The language packs can be downloaded from Sourceforge Sourceforge.net http://sourceforge.net/project/showfiles.php?group_id=138498 Download LanguagePack_1.2.0_zh_CN.exe 167566 1255 i386 .exe (32-bit Windows) http://prdownloads.sourceforge.net/tortoisesvn/LanguagePack_1.2.0_zh_CN.exe?download 都是WINDOWS应用程序安装,安装默认得方式安装完毕,重新启动计算机。 二、创建仓库 在资源管理器中创建一个文件夹,然后在上面 点击 鼠标右键,选择--TortoiseSVN--在此创建仓库。选择你要创建的文件库类型:本地文件系统(FSFS)或者 BERKELEY数据库(BDB)。我选择的是第一个。 确定以后,TSVN创建了一些文件。 找到源码所在文件夹,然后点击右键,选择tortoisesvn-导入,文件库URL选择浏览,找到刚才的文件夹 file:///C:/svnroot。然后在 导入信息中输入说明 默认是添加目录下所以文件的。所以要整理清楚。 然后再找到一个空文件夹,选择 取出。然后就是全部仓库中的文件被取出来了。 其他的就和CVS类似了,进行修改,更新,提交,之类的操作 要点: 1、CVS可以一个仓库下多个模块,SVN没有模块的概念,一个仓库就是一个项目模块 2、CVS一次创建一个新模块,以后只能在该模块的本地工作目录下添加,SVN可以从任意目录下再导入到仓库,进行添加 3、CVS一次提交只是针对文件,A文件版本可以到1.9,而B文件可能还是0.1,SVN每次提交都是对于整个仓库、整个文件夹,版本都会升级一次 CVS无法看到整体的升级过程 http://www.shengfang.org/blog/p/persondev1begin1.php 字体:大 中 小 |