There is a confusion that is causing a lot of TortoiseSVN users to use the wrong command line tools when they actually were looking for svn.exe
command line client.
What should I do or can't TortoiseSVN be used from the command line?
svn.exe
If you want to run Subversion commands from the command prompt, you should run the svn.exe
command line client. TortoiseSVN 1.6.x and older versions did not include SVN command-line tools, but modern versions do.
If you want to get SVN command line tools without having to install TortoiseSVN, check the SVN binary distributions page or simply download the latest version from VisualSVN downloads page.
If you have SVN command line tools installed on your system, but still get the error 'svn' is not recognized as an internal or external command
, you should check %PATH%
environment variable. %PATH%
must include the path to SVN tools directory e.g. C:\Program Files (x86)\VisualSVN\bin
.
TortoiseProc.exe
Apart from svn.exe
, TortoiseSVN comes with TortoiseProc.exe
that can be called from command prompt. In most cases, you do not need to use this tool, because it should be only used for GUI automation. TortoiseProc.exe
is not a replacement for SVN command-line client.