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

This commit is contained in:
Thomas Keller 2010-04-28 00:14:19 +02:00
parent 5ef6e6c08f
commit 5954cd0ad1

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];