[Fusionforge-commits] r15530 - in trunk/src/plugins/scmhg: . common

Franck VILLAUME nerville at fusionforge.org
Sun May 20 19:10:33 CEST 2012


Author: nerville
Date: 2012-05-20 19:10:32 +0200 (Sun, 20 May 2012)
New Revision: 15530

Modified:
   trunk/src/plugins/scmhg/INSTALL
   trunk/src/plugins/scmhg/common/HgPlugin.class.php
Log:
fix comments

Modified: trunk/src/plugins/scmhg/INSTALL
===================================================================
--- trunk/src/plugins/scmhg/INSTALL	2012-05-20 17:07:05 UTC (rev 15529)
+++ trunk/src/plugins/scmhg/INSTALL	2012-05-20 17:10:32 UTC (rev 15530)
@@ -15,7 +15,7 @@
 This lines are needed to launch independend webpages for every mercurial project.
 Put the hgweb.cgi into scmhg/www/cgi-bin and make sure that it is readable for the user running fusionforges-cronjobs. 
 
-Now copy the fflog.tmpl file into your central mercurial path for templates. It should be something like '/usr/lib/python2.6/site-packages/mercurial/templates/' . 
+Now copy the fflog.tmpl file available in etc directory into your central mercurial path for templates. It should be something like '/usr/lib/python2.6/site-packages/mercurial/templates/' . 
 The path was correct, when you can use 'hg log --style fflog.tmpl' from any hg repository. The template file is needed to gather statistics for the sourcecode history.
  
 

Modified: trunk/src/plugins/scmhg/common/HgPlugin.class.php
===================================================================
--- trunk/src/plugins/scmhg/common/HgPlugin.class.php	2012-05-20 17:07:05 UTC (rev 15529)
+++ trunk/src/plugins/scmhg/common/HgPlugin.class.php	2012-05-20 17:10:32 UTC (rev 15530)
@@ -173,7 +173,6 @@
 		}
 		if ($project->usesPlugin($this->name)) {
 			if ($this->browserDisplayable($project)) {
-				//print '<iframe src="'.util_make_url("/plugins/scmhg/cgi-bin/hgweb.cgi".$project->getUnixName()."?p=".$project->getUnixName()).'" frameborder="0" width=100% height=700></iframe>';
 				print '<iframe src="'.util_make_url('/plugins/scmhg/cgi-bin/'.$project->getUnixName().'.cgi?p='.$project->getUnixName()).'" frameborder="0" width=100% height=700></iframe>';
 			}
 		}
@@ -208,7 +207,7 @@
 				$repo_config = "";
 				foreach ($lines as $line) {
 					if (preg_match("/\Aapplication = hgweb/",$line)) {
-						//link per projekt hgweb.cgi to the project repository
+						//link per project hgweb.cgi to the project repository
 						$repo_config .= "application = hgweb(\"".$repo."\",\"".$project->getUnixName()."\")\n";
 					} else {
 						$repo_config .= $line;
@@ -512,4 +511,4 @@
 // c-file-style: "bsd"
 // End:
 
-?>
+?>
\ No newline at end of file




More information about the Fusionforge-commits mailing list