config.php 958 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * encodings: 提交日志的编码,比如GBK,可以用逗号连接起来的多个。
  4. * client: svn客户端执行文件的路径,windows下面考虑安装Slik-Subversion,然后找到svn.exe的路径。linux下面比如/usr/bin/svn
  5. * repos可以是多个,需要设定某一个库的访问路径,以及用户名和密码。
  6. *
  7. * encodings: the encoding of the comment,can be a list.
  8. * client: the svn client binary path. You can install Slik-Subversion unser windows, then find the path of svn.exe. under linux, try /usr/bin/svn
  9. * Can set multi repos, ervery one should set the path, username and password.
  10. *
  11. * 例子:
  12. * $config->svn->client = '/usr/bin/svn'; // c:\svn\svn.exe
  13. * $config->svn->repos['pms']['path'] = 'http://svn.zentao.net/zentao/trunk/';
  14. * $config->svn->repos['pms']['username'] = 'user';
  15. * $config->svn->repos['pms']['encoding'] = 'utf-8';
  16. * $config->svn->repos['pms']['password'] = 'pass';
  17. *
  18. */