Indefero

Indefero Commit Details


Date:2009-01-25 14:09:31 (15 years 10 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:dd6517c7096830a94e2803f05b33267f619f0a34
Parents: 96a82ba0ae284089739e061d904017e869776e6f
Message:Fixed Issue 112, creating Mercurial also gives Subversion repos.

Changes:

File differences

src/IDF/Plugin/SyncMercurial.php
6363
6464
6565
66
67
68
6669
67
6870
6971
7072
*/
function processMercurialCreate($project)
{
if ($project->getConf()->getVal('scm') != 'mercurial') {
return false;
}
$shortname = $project->shortname;
if (false===($mercurial_path=Pluf::f('idf_plugin_syncmercurial_path',false))) {
throw new Pluf_Exception_SettingError("'idf_plugin_syncmercurial_path' must be defined in your configuration file.");
}
src/IDF/Plugin/SyncSvn.php
6464
6565
6666
67
68
69
6770
6871
6972
*/
function processSvnCreate($project)
{
if ($params['project']->getConf()->getVal('scm') != 'svn') {
return false;
}
$shortname = $project->shortname;
if (false===($svn_path=Pluf::f('idf_plugin_syncsvn_svn_path',false))) {
throw new Pluf_Exception_SettingError("'idf_plugin_syncsvn_svn_path' must be defined in your configuration file.");

Archive Download the corresponding diff file

Page rendered in 0.07081s using 14 queries.