首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(1) | 引用(0) | 阅读14751次
Subversion安装使用指南

今天开始熟悉了一下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


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/svn1install.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1121312062

2005年7月14日11:34星期四  [Dev开发] 追踪此文的RSS
得人的德在 2008年6月25日10:13星期三 评论:
EmotionEmotionEmotionEmotion

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1858
在线: 15||用户: 2577 [列表]
今日:390||到访:2886454
Rss:897733||评论:1605

最新日志

最新评论

友情链接

日历
2008 - 08
     12
3456789
10111213141516
17181920212223
24252627282930
31      

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8