Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.2

Bug #15186 VersionControl_SVN::run has trouble with Windows paths.
Submitted: 2008-11-30 00:21 UTC
From: scottnicholls Assigned: mrook
Status: Closed Package: VersionControl_SVN (version 0.3.1)
PHP Version: 5.2.3 OS: Windows
Roadmaps: 0.3.2    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 11 + 47 = ?

 
 [2008-11-30 00:21 UTC] scottnicholls (Scott Nicholls)
Description: ------------ The path to my SVN exe is "c:\Program Files\svn\bin\svn.exe" and without quotes around the full path, the command doesn't work. I tried using the tilde "c:\Progra~1\svn\bin\svn.exe", but the escapeshellcmd removes the tilde. escapeshellcmd also removed any quotes you wrap around the command. Setting $use_escapeshellcmd = false fixes this. Would be nice to have this as a config option.

Comments

 [2009-08-04 02:05 UTC] mrook (Michiel Rook)
-Status: Open +Status: Verified -Assigned To: +Assigned To: mrook
 [2009-08-04 02:05 UTC] mrook (Michiel Rook)
-Roadmap Versions: +Roadmap Versions: 0.3.2
 [2009-08-10 01:11 UTC] mrook (Michiel Rook)
-Status: Verified +Status: Closed
This bug has been fixed in CVS. 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. The use_escapeshellcmd setting is now ignored, and the full generated $cmd is escaped to allow statements such as "C:\Program Files\SVN\bin\svn.exe" info "C:\Repo With Space". NOTE: escaping paths containing spaces *remains* the responsibility of the calling class!