Where is svn.exe in my machine?

I have Tortoise svn installed on my desktop. I want to perform some tasks using commandline svn.exe? But I am not able to find svn.exe on my machine.

Do we have to install something else to get the svn.exe commands?


Solution 1:

The subversion program code is linked into the TortoiseSVN binary. You can install a compatible discrete version if you need to access the repository from the command line.

UPDATE: Recent versions of the TortoiseSVN package can install a discrete svn.exe in addition to the one linked into the GUI binary. It is located in the same bin directory where the main program is installed. In the installer, the command line tools need to be selected for this: enter image description here

(If you have already installed TortoiseSVN, then rerun the installer and select "Modify") Modify installation

Solution 2:

TortoiseSVN 1.7 has an option for installing the command line tools.

It isn't checked by default, but you can run the installer again and select it. It will also automatically update your PATH environment variable.

Solution 3:

During the installation of TortoiseSVN, check the Command Line Client Tools. This will create the file svn.exe inside the folder C:\Program Files\TortoiseSVN\bin.

Solution 4:

TortoiseSVN doesn't use svn.exe it has SVN library compiled in. If you need to run your own tasks you would have to install stand alone subversion client. You either from Cygwin [http://cygwin.com ] or get a native version from http://subversion.apache.org/packages.html#windows