솔찍히 내가 TortoiseCVS Client for Windows에 쩔어 있어서
콘솔에서 명령어로 체크아웃 할지도 모르고, SVN에는 손이 가지 않는다.

SVN의 장점으로는 디렉토리 이동 등이 있다는 것도 알고,
CVS에서 SVN으로 이전도 그리 어렵지는 않다고 하지만,

가장 큰 문제는, 나 혼자 사용하는 SVN 서버가 아닌
다른 사람들도 접속할 수 있는 SVN 서버를 만드는 법을 모른다는 것이다.

아무튼! 용기를 내서 한번 문서를 뒤적이다가 발견했는데..
TortoiseSVN Client for Windows help에 있었다.. OTL 역시 등불밑이 가장 어두운 것인가..


키워드는 svnserve 이다.

Running svnserve

Now that svnserve is installed, you need it running on your server. The simplest approach is to run the following from a DOS shell or create a windows shortcut:

svnserve.exe --daemon

svnserve will now start waiting for incoming requests on port 3690. The --daemon switch tells svnserve to run as a daemon process, so it will always exist until it is manually terminated.

If you have not yet created a repository, follow the instructions given with the Apache server setup the section called “Configuration”.

To test that svnserve is working, use TortoiseSVNRepo-Browser to view a repository.

Assuming your repository is located in c:\repos\TestRepo, and your server is called localhost, enter:

svn://localhost/repos/TestRepo

when prompted by the repo browser.

You can also increase security and save time entering URLs with svnserve by using the --root switch to set the root location and restrict access to a specified directory on the server:

svnserve.exe --daemon --root drive:\path\to\repository\root

Using the previous test as a guide, svnserve would now run as:

svnserve.exe --daemon --root c:\repos

And in TortoiseSVN our repo-browser URL is now shortened to:

svn://localhost/TestRepo

Note that the --root switch is also needed if your repository is located on a different partition or drive than the location of svnserve on your server.

Svnserve will service any number of repositories. Just locate them somewhere below the root folder you just defined, and access them using a URL relative to that root.


Run svnserve as a Service

Running svnserve as a user is usually not the best way. It means always having a user logged in on your server, and remembering to restart it after a reboot. A better way is to run svnserve as a windows service. Starting with Subversion 1.4, svnserve can be installed as a native windows service.

To install svnserve as a native windows service, execute the following command all on one line to create a service which is automatically started when windows starts.

sc create svnserve binpath= "c:\svnserve\svnserve.exe --service 
--root c:\repos" displayname= "Subversion" depend= tcpip
start= auto

If any of the paths include spaces, you have to use (escaped) quotes around the path, like this:

sc create svnserve binpath= "
\"C:\Program Files\Subversion\bin\svnserve.exe\"
--service --root c:\repos" displayname= "Subversion"
depend= tcpip start= auto

You can also add a description after creating the service. This will show up in the Windows Services Manager.

sc description svnserve "Subversion server (svnserve)"

Note the rather unusual command line format used by sc. In the key= value pairs there must be no space between the key and the = but there must be a space before the value.




[출처 : http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html]
Posted by 구차니

댓글을 달아 주세요

  1. 클론울프

    Visual SVN server를 추천합니다. 쉽게 서버 구축가능하실거예요
    아래 주소 참고
    http://www.visualsvn.com/server/

    2009.03.18 14:37 [ ADDR : EDIT/ DEL : REPLY ]
    • 오우 "VisualSVN Server is completely free!" 최고인데요? ㅎㅎ 좋은정보 감사합니다!!

      2009.03.18 14:55 [ ADDR : EDIT/ DEL ]
  2. 는지  特朗普对华立场软化,美国政府暂时不会单独出台限制外国投资的额外行政措施。后院再度起火,美国参议院正考虑限制美国总统特朗普以国家安全为由加征关税的单方面权利。美联储罗森格伦表示有信号支持今年再加息两次,美联储将采取渐进式加息的路径。期货投机者或已转为净空头,金价出现“死叉”后或进一步下跌。


      美国至6月22日当周EIA原油库存大减989.1万桶,降幅远超预期。美国欲重新制裁伊朗的影响进一步发酵,日韩正试图与美国进行洽谈以期获得相应的豁免。伊朗石油官员当地时间周三回应称,空包代发 神秘包裹为啥只邮一张报纸 淘宝店赚信誉刷空包-新,美国对伊朗的原油出口制裁不可能得逞。



      黄金行情走势分析



      从四小时线上看,布林带扩大张口向下运行,空包网 神秘包裹为啥只邮一张报纸 淘宝店赚信誉刷空包-新闻,K线沿着BOLL下轨运行,MA5均线与MA10均线死叉向下运行방있

    2018.06.29 10:36 [ ADDR : EDIT/ DEL : REPLY ]
  3. 예리高温+暴雨警报 江苏梅姑娘请你洗“热水澡”

    现代快报讯(记者徐岑)先烤后煮的日子来了!江苏气象同时发布高温报告和暴雨警报。6月27日,沿江苏南地区持续高温,气温达35℃以上。而梅姑娘一改此前的作风,化身"暴力梅"。江苏气象预报,26日夜里,沿淮淮北地区大到暴雨,局部大暴雨。27日,江淮之间北部及沿淮地区有暴雨。到28日,暴雨移动到江淮之间南部和沿江苏南地






    “老赖”无财产可执行 法院将其尾号“666”手机靓号拍卖

    扬晚君说老赖欠钱不还怎么办?此时,债权人可以向法院申请强制执行,那如果债务人没有可供执行的财产,又该怎么办?emmmm……还可以拍卖他的手机号!6月25日,宿迁市宿城区人民法院将一被执行人的手机尾号……






    苏州奔驰车突然起火!车主:车里有蚊子 点了盘蚊香…

    日前,江苏苏州郭巷某停车场内,一辆奔驰车突然后座内起火。消防人员破窗灭火后,发现车内物损할는

    2018.07.02 15:34 [ ADDR : EDIT/ DEL : REPLY ]
  4. 일에首页 &gt,最便宜空包网 电商虚假交易内幕:用户信息被泄露 遭空包刷单; 新闻资讯



    长兴县下水道疏疏通上门查看

    文章来源:浙江本博环保工程有限公司 ,期货交易时间 上期所保税380燃料油期货7月16日挂牌交易; ,期货交易时间 沪深300黄金期货商品期货操盘所:工业品;发布时间:2018-06-13 23:11:44






    长兴县下水道疏疏通上门查看

    我们城市管道常年未疏通这个时候有我们专业污水管道疏通、雨水管道疏通、户外总들조

    2018.07.02 15:34 [ ADDR : EDIT/ DEL : REPLY ]