Since you have svn.exe already installed, simply modify depot_tools\svn.bat
to call your installed copy and call it done.
Yes, that is exactly what I did as my workaround. But if depot_tools is
going to provide its own version of svn, shouldn't we make it work?
For me personally, the need for manual adjustment within depot_tools
complicates automated setup of new Windows buildbot slaves; I imagine there
must be others out there whom this causes other forms of pain.
Bottom line: if I create a new svn_bin.zip that works better, can I replace
the one in the repository with it?
Supporting people with a svn client already installed has never been a
goal. None of our buildbot has svn installed. So yes, right now it just
works for our devs in the normal case.
I just tried it out on a virgin Windows machine (my home Windows 7 machine)
and it worked fine as described below. So this does indeed seem to have
been a problem with my particular installation--please feel free to close
this bug. Sorry for the noise.
- downloaded depot_tools.zip from
http://www.chromium.org/developers/how-tos/install-depot-tools
- unzipped depot_tools.zip into c:\temp
- opened a Command Prompt window...
cd c:\temp\depot_tools
gclient --help
[this installed subversion and python]
- added c:\temp\depot_tools to my PATH as described at
http://www.chromium.org/developers/how-tos/install-depot-tools
- opened a new Command Prompt window...
cd c:\temp
mkdir test
cd test
gclient config http://src.chromium.org/svn/trunk/tools/depot_tools
gclient sync --manually_grab_svn_rev
[and it worked fine, checking out revision 93835]
gclient sync --manually_grab_svn_rev -r 93834
[and it worked fine... nothing different to check out]
gclient sync --manually_grab_svn_rev -r 90000
[and it worked fine]
svn --version
[reported version 1.6.6 and worked fine]
Comment #12 on issue 89900 by mar...@chromium.org: svn within depot_tools'
svn_bin.zip fails for "svn --version" at Windows Command Prompt
http://code.google.com/p/chromium/issues/detail?id=89900
(No comment was entered for this change.)