Apply a patch from Alan Wood that helps benchmark.py run on the Windows platform.
Apply a patch from Alan Wood that helps benchmark.py run on the Windows
platform.

Note: the patch was not completely applied, but inspired this change.

* /tools/dev/benchmarks/suite1/benchmark.py:
  (): import stat to use for chmod later
  (svn): if an OSError occurs when trying to run the command, return None
    for the stdout and stderr. this signals to the caller, that the
    command (probably) could not be found.
  (rmtree_onerror): helper for the shutil.rmtree() call to fix up a
    Windows tree to make files writable, and (thus) deleteable.
  (run): switch any backslashes in the repository (file) URL to forward
    slashes, as any Proper URL Should Be. rather than using 'which' to
    locate svn, just run the --version command (which we want to do
    anyways). The operation of that command will signal whether we can
    successfully invoke svn for the tests. also: use rmtree_onerror.

git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1094816 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion