svn: /web/doc-editor/trunk/php/ SvnClient.php
[email protected] (Yannick Torres)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
yannick Mon, 25 Jan 2010 06:38:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293961
Log:
Move --non-recursive from 'ci' to 'add' when we execute the add folder
Changed paths:
U web/doc-editor/trunk/php/SvnClient.php
Modified: web/doc-editor/trunk/php/SvnClient.php
===================================================================
--- web/doc-editor/trunk/php/SvnClient.php 2010-01-25 06:31:49 UTC (rev 293960)
+++ web/doc-editor/trunk/php/SvnClient.php 2010-01-25 06:38:53 UTC (rev 293961)
@@ -351,7 +351,7 @@
$vcsLogin = AccountManager::getInstance()->vcsLogin;
$vcsPasswd = AccountManager::getInstance()->vcsPasswd;
- $cmd = 'cd '.$GLOBALS['DOC_EDITOR_VCS_PATH'].'; svn add '.$foldersPath[$i]->lang.$foldersPath[$i]->path.'; svn ci --non-recursive --no-auth-cache --non-interactive -m "Add new folder from PhpDocumentation Online Editor" --username '.$vcsLogin.' --password '.$vcsPasswd.' '.$foldersPath[$i]->lang.$foldersPath[$i]->path;
+ $cmd = 'cd '.$GLOBALS['DOC_EDITOR_VCS_PATH'].'; svn add --non-recursive '.$foldersPath[$i]->lang.$foldersPath[$i]->path.'; svn ci --no-auth-cache --non-interactive -m "Add new folder from PhpDocumentation Online Editor" --username '.$vcsLogin.' --password '.$vcsPasswd.' '.$foldersPath[$i]->lang.$foldersPath[$i]->path;
$trial_threshold = 3;
while ($trial_threshold-- > 0) {