svn: /web/doc-editor/trunk/php/ RepositoryManager.php
| From: | Yannick Torres | Date: | Sat, 01 May 2010 20:06:22 +0000 |
| Subject: | svn: /web/doc-editor/trunk/php/ RepositoryManager.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1838@lists.php.net to get a copy of this message | ||
yannick Sat, 01 May 2010 20:06:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298847
Log:
Fix path issue with new folder commit
Changed paths:
U web/doc-editor/trunk/php/RepositoryManager.php
Modified: web/doc-editor/trunk/php/RepositoryManager.php
===================================================================
--- web/doc-editor/trunk/php/RepositoryManager.php 2010-05-01 20:04:33 UTC (rev 298846)
+++ web/doc-editor/trunk/php/RepositoryManager.php 2010-05-01 20:06:22 UTC (rev 298847)
@@ -756,7 +756,7 @@
// We walk trow files to find folders to commit
for( $i=0; $i < count($files); $i++) {
- $filePath = rtrim($files[$i]['lang'].$files[$i]['path'],
"/");
+ $filePath = $files[$i]['lang'].$files[$i]['path'];
$pathInfo = array();
parsePath($filePath, $pathInfo);
@@ -855,7 +855,6 @@
// We filter this folders to return only this who want to commit according of files array
$foldersInfos = $this->getOnlyFoldersForFiles($foldersInfos, $fileInfos);
-
if( $foldersInfos ) {
$c = VCSFactory::getInstance()->commitFolders($foldersInfos);
$commitLog = array_merge($commitLog, $c);