zoukankan      html  css  js  c++  java
  • 开发中使用版本控制svnserve.conf:27: Option expected的问题解决方法

    在客户端访问subversion版本库时出现这个错误:

    svnserve.conf:27: Option expected

    为什么会出现这个错误呢,就是因为subversion读取配置文件svnserve.conf时,无法识别有前置空格的配置文件,如

    ### the file's location is relative to the directory containing

    ### this configuration file.

    ### If SASL is enabled (see below), this file will NOT be used.

    ### Uncomment the line below to use the default password file. password-db = passwd

    ### The authz-db option controls the location of the authorization

    ### rules for path-based access control.  Unless you specify a path

    ### starting with a /, the file's location is relative to the the

    ### directory containing this file.  If you don't specify an

    ### authz-db, no path-based access control is done.

    ### Uncomment the line below to use the default authorization file.  

     authz-db = authz  (前面有空格,把空格去了就可以了)

    authz-db = authz (这样即可!)

    ### This option specifies the authentication realm of the repository.

    ### If two repositories have the same authentication realm, they should

    ### have the same password database, and vice versa.  The default realm 像上面的配置文件中,authz-db = authz 是顶行的,没问题,若authz-db = authz 就存在前置空格,会导致这个错误。 要避免出现这个错误,应该在去掉这些行前的#时,也要顺手去掉前面的空格。

    软件世界,就是模拟客观世界,解决问题,从而需求分析,技术驱动,改造世界。
  • 相关阅读:
    [NOI2014]起床困难综合症(贪心+位运算)(暑假ACM1 A)
    BZOJ 2456 mode(找众数)(暑假ACM1 F)
    [POI2000]病毒(补全AC自动机)
    [NOI2005]聪聪与可可
    BZOJ4500矩阵
    网络编程物理层
    当列表推导式遇到lambda(匿名函数)
    写学生管理系统后的一些感想
    深入学习python内存管理
    python基础详解
  • 原文地址:https://www.cnblogs.com/ACMer/p/2985884.html
Copyright © 2011-2022 走看看