KWPro.net

PEAR's VersonControl_SVN is Busted for Cygwin
By: conark
Published On: 2-3-2010

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.

AddThis Social Bookmark Button Sphere: Related Content

Trackbacks: (Trackback URL)

No Comments Posted Yet
January [February] March
Sun Mon Tue Wed Thu Fri Sat
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 1 2 3 4 5 6