Fix Windows command-line argument quoting in the Python test harness.
commit2609b75fe434388f0c1ba7e858b9d21f03a6f311
authorJulian Foad <julian.foad@wandisco.com>
Wed, 10 Nov 2010 16:50:46 +0000 (10 16:50 +0000)
committerJulian Foad <julian.foad@wandisco.com>
Wed, 10 Nov 2010 16:50:46 +0000 (10 16:50 +0000)
tree83bfa17f9a30e00e27d99bf8b33241300517d7f1
parent09291241383bb53a6a0fac0aeff144fdc0ccc7a6
Fix Windows command-line argument quoting in the Python test harness.
Arguments ending with a backslash were not correctly quoted, among other
issues.  This reverts r875257.

* subversion/tests/cmdline/svntest/main.py
  (_quote_arg): Do the quoting more correctly, using subprocess.list2cmdline()
    on Windows and in-line code on Unix.
  (open_pipe): Pass the list of arguments directly to subprocess.Popen()
    instead of trying to quote it ourselves on Windows.  Use our own quoting
    only for display purposes.

git-svn-id: http://svn.apache.org/repos/asf/subversion/trunk/subversion/tests/cmdline@1033584 13f79535-47bb-0310-9956-ffa450edef68
svntest/main.py