Fixed issue 57, bug dans la gestion SVN.

dev
bohwaz 2008-11-18 11:23:09 +01:00 committed by Loic d'Anterroches
parent 79312f7242
commit e01235caea
2 changed files with 6 additions and 3 deletions

View File

@ -3,4 +3,5 @@ by Loïc d'Anterroches with the support of Céondo Ltd.
Much appreciated contributors:
Nicolas Lassalle <http://www.beroot.org/>
Nicolas Lassalle <http://www.beroot.org/>
bohwaz <http://bohwaz.net/>

View File

@ -50,7 +50,8 @@ class IDF_Scm_Svn
public static function getRemoteAccessUrl($project)
{
$conf = $project->getConf();
if (false !== ($url=$conf->getVal('svn_remote_url', false))) {
if (false !== ($url=$conf->getVal('svn_remote_url', false))
&& !empty($url)) {
// Remote repository
return $url;
}
@ -71,7 +72,8 @@ class IDF_Scm_Svn
{
$conf = $project->getConf();
// Find the repository
if (false !== ($rep=$conf->getVal('svn_remote_url', false))) {
if (false !== ($rep=$conf->getVal('svn_remote_url', false))
&& !empty($rep)) {
// Remote repository
return new IDF_Scm_Svn($rep,
$conf->getVal('svn_username'),