From fe0ecf13ec3b3aa05b97006c314a1d80948a8cc2 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 3 Mar 2020 09:00:25 +0800 Subject: [PATCH] * finish task #6932. --- module/git/config.php | 16 +++++++++++++++- module/svn/config.php | 18 +----------------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/module/git/config.php b/module/git/config.php index a4abe2dafc..2210644ece 100644 --- a/module/git/config.php +++ b/module/git/config.php @@ -1,2 +1,16 @@ 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'; + * + */ diff --git a/module/svn/config.php b/module/svn/config.php index 69f910ce48..123820a8aa 100644 --- a/module/svn/config.php +++ b/module/svn/config.php @@ -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'] = ''; -*/