I discovered when trying to use the svn checkout Phing task that the PEAR VersionControl_SVN module had an issue. The issue is that on line 654 of the SVN.php file, you need to either comment it out or remove it. It seems that the added quotation marks causes Phing to fail when it attempts to execute the Subversion command on cygwin. I haven't tried this on a regular Windows command line prompt, but on Cygwin's bash prompt, you'll see this problem pop up.
If you look at the line closely, you'll notice that it tries to parse the OS as Windows. So I'm guessing that it probably gets confused for Cygwin, leading to the error. I'm not sure how to check for Cygwin using PHP, but probably the creators need to add a secondary check for those situations.
Trackbacks: (Trackback URL)