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'] = ''; -*/