InDefero

Sign in or create your account | Project List | Help

Issue 57: Bug dans la gestion SVN

Reported by bohwaz, Nov 18, 2008

Chez moi la gestion svn marche mal avec les dépôts locaux. Il faut
appliquer le diff suivant pour que ça marche :

--- a/src/IDF/Scm/Svn.php
+++ b/src/IDF/Scm/Svn.php
@@ -50,7 +50,7 @@ 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 +71,7 @@ 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'),

Comment 1 by Loïc d'Anterroches, Nov 18, 2008

J'attends ton vrai nom pour faire le commit avec tes informations
dedans.
Status: Accepted
Owner: loic

Comment 2 by Loïc d'Anterroches, Nov 18, 2008

Fixed in commit e01235caea499373d017ac.
Status: Fixed

Created: 1 month 20 days ago by bohwaz

Updated: 1 month 20 days ago

Status: Fixed

Owner: Loïc d'Anterroches

Labels:
Priority:Medium
Type:Defect