TODO:Windows 10 下SVN简单配置

TODO:Windows 10 下SVN简单配置

简单介绍一下SVN是什么?SVN是Subversion的简称,是一个开放源代码的版本控制系统,它采用了分支管理系统。说得简单一点SVN就是用于多个人共同开发同一个项目,共用资源的目的。svn服务器有2种运行方式:独立服务器和借助apache运行。两种方式各有利弊,用户可以自行选择。小O采用的时候独立服务器模式,配置简单。

下载Subversion 1.9.5 (Windows 64-bit) Includes all Subversion command-line binaries。zip包,解压到指定文件夹下,设置环境变量path,在cmd下就可以使用SVN的相关命令了,常用的命令有svn,svnserve等

TODO:Windows 10 下SVN简单配置

启动SVN服务,创建SVN的仓库目录,启动服务指定到该目录

svnserve -d -r D:/workspaces/svn

注意-r和文件夹路径以空格隔开

如果嫌弃每次都要打开cmd开启服务,可以把svn的启动命令添加到windows服务中去。

到此SVN服务器已经开启,接下来配置共享资源库。

安装SVN客户端,小O使用TortoiseSVN-1.9.5.27581-x64-svn-1.9.5.msi,傻瓜式安装一直下一步即可。

到仓库目录下创建一个文件夹code,进入code里,右键鼠-->TortoiseSVN-->Create Repository here,生成SVN相关文件

TODO:Windows 10 下SVN简单配置

配置SVN,修改conf下的svnserve.conf,如下,访问资源仓库,提交资源都需要用户名验证

anon-access = none

auth-access = write

password-db = passwd

修改conf下的password,增加新用户,格式

[users]

admin = admin

就可以checkout资源了

TODO:Windows 10 下SVN简单配置

简单的配置过程,希望对您有帮助哈。

wxgzh:ludong86


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
填充下面这个程序中所有出现// TODO: fill the code这个任务的地方#include <iostream> #include <cstring> #include "ourstring.h" #include "strlib.h" using namespace std; OurString::OurString(){ // TODO: fill the code } OurString::OurString(const char *str){ // TODO: fill the code } OurString::OurString(const OurString &dstr){ // TODO: fill the code } OurString::~OurString(){ // TODO: fill the code } string OurString::toString() const{ // TODO: fill the code } OurString OurString::subStr(unsigned int start, unsigned int n) const{ // TODO: fill the code } bool OurString::operator > (const OurString &dstr) const{ // TODO: fill the code } bool OurString::operator < (const OurString &dstr) const{ // TODO: fill the code } bool OurString::operator == (const OurString &dstr) const{ // TODO: fill the code } unsigned int OurString::length () const{ // TODO: fill the code } const OurString& OurString::operator = (const OurString &dstr){ // TODO: fill the code } const OurString& OurString::operator = (const char *str){ // TODO: fill the code } char& OurString::operator[](int index){ // TODO: fill the code } const OurString OurString::operator + (const OurString &dstr) const{ // TODO: fill the code } const OurString OurString::operator + (const char *str) const{ // TODO: fill the code } const OurString& OurString::operator += (const OurString &dstr){ // TODO: fill the code } const OurString& OurString::operator += (const char *str){ // TODO: fill the code } ostream & operator<<(ostream &os, const OurString &dstr){ // TODO: fill the code } istream & operator>>(istream &is, OurString &dstr){ // TODO: fill the code }
05-29

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值