* finish task #6932.

This commit is contained in:
wangyidong
2020-03-03 09:00:25 +08:00
parent cec55d0345
commit fe0ecf13ec
2 changed files with 16 additions and 18 deletions
+15 -1
View File
@@ -1,2 +1,16 @@
<?php
/**
* encodings: 提交日志的编码,比如GBK,可以用逗号连接起来的多个。
* client: Git客户端执行文件的路径,windows下面是git.exe的路径,linux下面比如/usr/bin/git
* repos可以是多个,需要设定某一个库的访问路径。
*
* encodeings: the encoding of the comment,can be a list.
* client: the git client binary path. Unser windows, find the path of git.exe. Under linux, try /usr/bin/git
* Can set multi repos, ervery one should set the path.
*
* 例子:
* $config->git->client = '/usr/bin/git'; // c:\git\git.exe
* $config->git->repos['pms']['path'] = '/home/user/repo/pms'; // c:\repo\pms
* $config->git->repos['pms']['encoding'] = 'utf-8';
*
*/
+1 -17
View File
@@ -12,23 +12,7 @@
* $config->svn->client = '/usr/bin/svn'; // c:\svn\svn.exe
* $config->svn->repos['pms']['path'] = 'http://svn.zentao.net/zentao/trunk/';
* $config->svn->repos['pms']['username'] = 'user';
* $config->svn->repos['pms']['encoding'] = 'utf-8';
* $config->svn->repos['pms']['password'] = 'pass';
*
*/
/* will use the config of repo records in db
$config->svn = new stdClass();
$config->svn->encodings = 'utf-8';
$config->svn->client = '';
$i = 1;
$config->svn->repos[$i]['path'] = '';
$config->svn->repos[$i]['encoding'] = 'utf-8';
$config->svn->repos[$i]['username'] = '';
$config->svn->repos[$i]['password'] = '';
$i ++;
$config->svn->repos[$i]['path'] = '';
$config->svn->repos[$i]['username'] = '';
$config->svn->repos[$i]['password'] = '';
*/