FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16892&edit=1

ID: 16892
Updated by: mrook@php.net
Reported By: shaneneuerburg at gmail dot com
Summary: SVN.run() on windows doesn't execute properly
-Status: Open
+Status: Closed
Type: Bug
Package: VersionControl_SVN
Operating System: Windows Vista Business
Package Version: 0.3.3
PHP Version: 5.3.1
-Assigned To:
+Assigned To: mrook
-Roadmap Versions:
+Roadmap Versions: 0.3.4
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: mrook
-Roadmap Versions:
+Roadmap Versions: 0.3.4
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




Previous Comments:
------------------------------------------------------------------------

[2009-12-08 19:23:02] shaneneuerburg

Description:
------------
When doing an SVN checkout on a Windows machine ("Uniform Server" as
server platform, so a WAMP setup), I receive the following error:
"Failed to run the 'svn checkout' command: The filename, directory
name, or volume label syntax is incorrect."

The SVN executable was set to "svn" is set in the PATH environment
variable.

The command it executed was (including double quotes):
""svn" checkout --username [omitted] --password [omitted]
--no-auth-cache -r HEAD --non-interactive svn://10.42.10.66/test/trunk
G:\Web\deployment"

In order to fix the issue, I had to change the code to the following
(note the added "cmd /C" prefix):
if (!$this->passthru) {
exec("cmd /C $cmd 2>&1", $out, $ret_var);
} else {
passthru("cmd /C $cmd 2>&1", $ret_var);
}

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 30, '09 at 11:41p
activeDec 30, '09 at 11:41p
posts1
users1
websitepear.php.net

1 user in discussion

Mrook: 1 post

People

Translate

site design / logo © 2022 Grokbase