svn: /pear/packages/VersionControl_SVN/trunk/SVN/ Info.php

From: Date: Mon, 03 Aug 2009 20:02:16 +0000
Subject: svn: /pear/packages/VersionControl_SVN/trunk/SVN/ Info.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-56877@lists.php.net to get a copy of this message
mrook Mon, 03 Aug 2009 20:02:16 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286756 Log: Request #13011 - info command should accept username/password switches Bug: http://pear.php.net/bugs/13011 (unknown) Changed paths: U pear/packages/VersionControl_SVN/trunk/SVN/Info.php Modified: pear/packages/VersionControl_SVN/trunk/SVN/Info.php =================================================================== --- pear/packages/VersionControl_SVN/trunk/SVN/Info.php 2009-08-03 20:00:32 UTC (rev 286755) +++ pear/packages/VersionControl_SVN/trunk/SVN/Info.php 2009-08-03 20:02:16 UTC (rev 286756) @@ -57,9 +57,6 @@ * * If the 'path' option is omitted, '.' is assumed. * - * Note: This command only operates on working copies. It does - * NOT access the repository. - * * $switches is an array containing one or more command line options * defined by the following associative keys: * @@ -72,7 +69,11 @@ * // descend recursively * 'recursive' => true|false, * // descend recursively - * 'config-dir' => 'Path to a Subversion configuration directory' + * 'config-dir' => 'Path to a Subversion configuration directory', + * + * 'username' => 'username for accessing repository', + * + * 'password' => 'password for accessing repository' * ); * * </code> @@ -129,7 +130,9 @@ 'recursive', 'targets', 'config-dir', - 'config_dir' + 'config_dir', + 'username', + 'password' ); @@ -197,6 +200,8 @@ $switch = str_replace('_', '-', $switch); switch ($switch) { case 'targets': + case 'username': + case 'password': case 'config-dir': $_switches .= "--$switch $val "; break; @@ -297,4 +302,4 @@ } /// }}} -?> \ No newline at end of file +?>

« previous php.pear.cvs (#56877) next »