default to the master branch for the head / tip / main revision

master
Thomas Keller 2010-04-28 00:14:19 +02:00
parent 5ef6e6c08f
commit 5954cd0ad1
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ class IDF_Project extends Pluf_Model
'git' => 'master',
'svn' => 'HEAD',
'mercurial' => 'tip',
'mtn' => 'h:',
'mtn' => 'h:'.$conf->getVal('mtn_master_branch', '*'),
);
$scm = $conf->getVal('scm', 'git');
return $roots[$scm];