Last modified: 2009-09-30 00:42:26 UTC
Created attachment 6482 [details] Patch for GlobalFunctions.php -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The original function provided a pair of extra quotes to the command after "cmd.exe /c", which will cause it fail to run. For example, when running [[mw:Extension:CodeReview]]::svnImport.php, it generates: cmd.exe /c ""svn diff -r29:30 --non-interactive --trust-server-cert "/* REPO PATH */""" And this will cause a "The filename, directory name, or volume label syntax is incorrect." error. Maybe the patch will fix it. Best regards. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) iD8DBQFKj/QgRsiNGHPeu/URAsMuAJ4lySnYXXcPSuGUgwCROgnmNS48+QCfYs5yszJ9QWMzlJezFIuUlTUj/BA==qUgX -----END PGP SIGNATURE-----
Cf bug 13518.
Patch applied in r56731
Exactly what behavior difference do you see between XP and Vista here? Where is the second pair of quotes being generated? MediaWiki only appears to produce one pair of quotes, so is the second one from PHP? If so, is this something to do with XP vs Vista or is it the version of PHP?
Cleaned up in r57093. Was fixed in PHP 5.3.0, not in a particular build of Windows.