2008年4月20日 星期日

Subversion Server 與 TortoiseSvn 初體驗(一)


1.安裝Subversion Server
software download http://subversion.tigris.org/
新增捷徑 並修改啟動參數:
"C:Program FilesSubversionbinsvnserve.exe" --daemon --root c:svn

以上Subversion Server 已經啟動服務

2.安裝TortoiseSvn(name "TSVN") -- TSVN is Client
software download http://tortoisesvn.net/downloads
安裝 語言package (可以在那個網頁找到)

3.如何使用:
a.產生一個Resposity 的目錄(幫你管理version 的資訊)
for example: create folder c:SVN,所以TSVN 的檔案庫瀏覽器path file:///C:/SVN
然後 用TSVN ,press mouse right bottom, you can see "create resposity here"

b.設定你的專案
for example: c:SVN1, 並開始將檔案放入 SVN1 folder 中

當完成時, 請press mouse right buttom to SVN commint .

所以你的第一個檔案就已經check in Resposity 中

c.取出檔案進行修改

Press mouse right key to SVN checkout

you can select "Checkout directory" and save to your folder.


d.當你編撰完檔案後,只要press mouse right key and SVN Commit ,就可以檔案同步Server 了,記得寫上change 的原因,

方便管理版本



e.當你建立完新的東西, 需要加入subversion

press mouse right key and "Add" to SVN server.

Reference URL:

1.http://jostudio.blogspot.com/2006/12/svn-subversion-tortoisesvn.html


2.http://subversion.tigris.org/