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, feature/subversion-multiple-repositories-per-project has been
updated
via c93714ad615d6e368b9f81857afff728a6ab6bdf (commit)
from 40169bccb797ac884fb0c17a65af0f74d090faf8 (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=c93714ad615d6e368b9f81857afff728a6ab6bdf
commit c93714ad615d6e368b9f81857afff728a6ab6bdf
Author: Franck Villaume <[email protected]>
Date: Sun Feb 25 19:05:54 2018 +0100
fix direcotry repository after move. fix html display when multiple repos
diff --git a/src/db/20160324-svn-prepare-multirepo.php
b/src/db/20160324-svn-prepare-multirepo.php
index 85a46c0..e5b057f 100644
--- a/src/db/20160324-svn-prepare-multirepo.php
+++ b/src/db/20160324-svn-prepare-multirepo.php
@@ -38,6 +38,8 @@ if (is_dir($svn_root)) {
if (mkdir($svn_root.'/'.$svn_repodir.'.svn')) {
if (!rename($svn_root.'/'.$svn_repodir,
$svn_root.'/'.$svn_repodir.'.svn/'.$svn_repodir)) {
echo "UNABLE TO MOVE TO FINAL
DESTINATION REPO: ".$svn_repodir."\n";
+ } else {
+
rename($svn_root.'/'.$svn_repodir.'.svn', $svn_root.'/'.$svn_repodir);
}
} else {
echo "UNABLE TO CREATE TARGET DIR FOR
REPO: ".$svn_repodir."\n";
diff --git a/src/plugins/scmsvn/common/SVNPlugin.class.php
b/src/plugins/scmsvn/common/SVNPlugin.class.php
index 2cf8490..9acc289 100644
--- a/src/plugins/scmsvn/common/SVNPlugin.class.php
+++ b/src/plugins/scmsvn/common/SVNPlugin.class.php
@@ -343,7 +343,7 @@ some control over it to the project's administrator.");
if (!$project) return false;
if (!$project->isActive()) return false;
- $repo_prefix = forge_get_config('repos_path',
'scmsvn').'/'.$project->getUnixName().'.svn/';
+ $repo_prefix = forge_get_config('repos_path',
'scmsvn').'/'.$project->getUnixName().'/';
if (!is_dir($repo_prefix) && !mkdir($repo_prefix, 0755, true)) {
return false;
}
@@ -1093,7 +1093,7 @@ some control over it to the project's administrator.");
echo $HTML->listTableTop($titleArr);
foreach ($existing_repos as $key => $repo) {
$cells = array();
- $cells[][] = html_e('tt', array(),
$repo['repo_name']);
+ $cells[][] = html_e('kbd', array(),
$repo['repo_name']);
$cells[][] = $repo['description'];
$deleteForm = $HTML->openForm(array('name' =>
'form_delete_repo_'.$repo['repo_name'], 'action' =>
getStringFromServer('PHP_SELF'), 'method' => 'post'));
$deleteForm .= html_e('input', array('type' =>
'hidden', 'name' => 'group_id', 'value' => $params['group_id']));
@@ -1103,7 +1103,7 @@ some control over it to the project's administrator.");
$deleteForm .= html_e('input', array('type' =>
'submit', 'name' => 'submit', 'value' => _('Delete')));
$deleteForm .= $HTML->closeForm();
$cells[][] = $deleteForm;
- echo $HTML->multiTableRow(array('class' =>
$HTML->boxGetAltRowStyle($key, true)), $cells);
+ echo $HTML->multiTableRow(array(), $cells);
}
echo $HTML->listTableBottom();
}
-----------------------------------------------------------------------
Summary of changes:
src/db/20160324-svn-prepare-multirepo.php | 2 ++
src/plugins/scmsvn/common/SVNPlugin.class.php | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits