[evolvis-commits] r13735: Fixed display of CVS instructions for RW access
mirabilos at evolvis.org
mirabilos at evolvis.org
Mon Feb 28 02:56:51 CET 2011
Author: mirabilos
Date: 2011-02-28 02:56:51 +0100 (Mon, 28 Feb 2011)
New Revision: 13735
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/plugins/scmcvs/common/CVSPlugin.class.php
Log:
Fixed display of CVS instructions for RW access
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/plugins/scmcvs/common/CVSPlugin.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/plugins/scmcvs/common/CVSPlugin.class.php 2011-02-28 01:56:49 UTC (rev 13734)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/plugins/scmcvs/common/CVSPlugin.class.php 2011-02-28 01:56:51 UTC (rev 13735)
@@ -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 evolvis-commits
mailing list