[Fusionforge-commits] r8123 - trunk/gforge/plugins/scmcvs/common

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Sep 11 13:10:34 CEST 2009


Author: lolando
Date: 2009-09-11 13:10:33 +0200 (Fri, 11 Sep 2009)
New Revision: 8123

Modified:
   trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php
Log:
Fixed display of CVS instructions for RW access

Modified: trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php
===================================================================
--- trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php	2009-09-11 06:00:19 UTC (rev 8122)
+++ trunk/gforge/plugins/scmcvs/common/CVSPlugin.class.php	2009-09-11 11:10:33 UTC (rev 8123)
@@ -88,12 +88,13 @@
 	}
 
 	function getInstructionsForRW ($project) {
+		$cvsrootend = $project->getSCMBox().':'.$this->cvs_root.'/'.$project->getUnixName();
 		$b = _('<p><b>Developer CVS Access via SSH</b></p><p>Only project developers can access the CVS tree via this method. SSH must be installed on your client machine. Substitute <i>modulename</i> and <i>developername</i> with the proper values. Enter your site password when prompted.</p>');
-			$b .= '<p>
+		$b .= '<p>
 			       <tt>export CVS_RSH=ssh</tt><br/>
 			       <tt>cvs -d :ext:<em>'._('developername').'</em>@'.$cvsrootend.' checkout <em>'._('modulename').'</em></tt>
 			       </p>';
-
+		
 		return $b ;
 	}
 




More information about the Fusionforge-commits mailing list