This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 972b8759fcf9ec37c40b2853955ce875ac4f77d0 (commit)
from 4b4bccb9ae53aabbde1b682f0c22e875d2871c79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=972b8759fcf9ec37c40b2853955ce875ac4f77d0
commit 972b8759fcf9ec37c40b2853955ce875ac4f77d0
Author: Marc-Etienne Vargenau <[email protected]>
Date: Tue Jan 24 18:32:06 2017 +0100
Whitespace
diff --git a/src/plugins/scmhg/common/HgPlugin.class.php
b/src/plugins/scmhg/common/HgPlugin.class.php
index ed2c7f2..89af2bc 100644
--- a/src/plugins/scmhg/common/HgPlugin.class.php
+++ b/src/plugins/scmhg/common/HgPlugin.class.php
@@ -269,7 +269,7 @@ Offer DAV or SSH access.");
$conf .= "baseurl = /hg";
$conf .= "\ndescription = ".$project->getUnixName();
$conf .= "\nstyle = paper";
- $conf .= "\nallow_push = *"; //every user ( see apache
configuration) is allowed to push
+ $conf .= "\nallow_push = *"; // every user (see Apache
configuration) is allowed to push
$conf .= "\nallow_read = *"; // every user is allowed
to clone and pull
if (!forge_get_config('use_ssl', 'scmhg')) {
$conf .= "\npush_ssl = 0";
@@ -277,8 +277,8 @@ Offer DAV or SSH access.");
fwrite($f, $conf);
fclose($f);
system("chgrp -R $unix_group $repo");
- system("chmod 770 $repo" );
- system("find $repo -type d | xargs chmod g+s" );
+ system("chmod 770 $repo");
+ system("find $repo -type d | xargs chmod g+s");
system("chmod 660 $repo/.hg/hgrc");
}
@@ -300,10 +300,10 @@ Offer DAV or SSH access.");
$password_data = '';
$hgusers = array();
foreach ($groups as $project) {
- if ( !$project->isActive()) {
+ if (!$project->isActive()) {
continue;
}
- if ( !$project->usesSCM()) {
+ if (!$project->usesSCM()) {
continue;
}
$push = "";
@@ -461,7 +461,7 @@ Offer DAV or SSH access.");
if (!$project) {
return false;
}
- if (! $project->usesPlugin($this->name)) {
+ if (!$project->usesPlugin($this->name)) {
return false;
}
@@ -470,7 +470,7 @@ Offer DAV or SSH access.");
$year = $params['year'];
$month = $params['month'];
$day = $params['day'];
- $month_string = sprintf("%04d%02d", $year, $month );
+ $month_string = sprintf("%04d%02d", $year, $month);
$start_time = gmmktime(0, 0, 0, $month, $day, $year);
$end_time = $start_time + 86400;
$usr_adds = array();
@@ -569,7 +569,7 @@ Offer DAV or SSH access.");
}
// building the user list
- $user_list = array_unique( array_merge( array_keys(
$usr_adds ), array_keys( $usr_updates ), array_keys( $usr_deletes ),
array_keys( $usr_commits ) ) );
+ $user_list =
array_unique(array_merge(array_keys($usr_adds), array_keys($usr_updates),
array_keys($usr_deletes), array_keys($usr_commits)));
foreach ($user_list as $user) {
// Trying to get user id from user name or email
-----------------------------------------------------------------------
Summary of changes:
src/plugins/scmhg/common/HgPlugin.class.php | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits