svn: /web/doc-editor/trunk/php/ SvnClient.php

From: Date: Mon, 25 Jan 2010 06:38:53 +0000
Subject: svn: /web/doc-editor/trunk/php/ SvnClient.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1499@lists.php.net to get a copy of this message
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) {

« previous php.doc.web (#1499) next »