Where is svn.exe in my machine?

149,149

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

Solution 5

If you'd like to use SVN.EXE, there are several companies that compile official binaries that are available for free download. For example, Collabnet:

http://www.open.collab.net/downloads/subversion/

Share:
149,149
Amitabh
Author by

Amitabh

Updated on February 12, 2021

Comments

  • Amitabh
    Amitabh about 3 years

    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?

  • Amitabh
    Amitabh almost 14 years
    What is a compatible discrete version?
  • Amardeep AC9MF
    Amardeep AC9MF almost 14 years
    TortoiseSVN installer has two version numbers. The first one is the version of the GUI shell itself. The second is the version of subversion linked into it. If you will install a discrete version, you want one the same or close to the linked-in version. You can also find the svn version number with the context menu about box.
  • Amitabh
    Amitabh almost 14 years
    So If I update the TSVN GUI I need to update the SVN client as well?
  • skyfoot
    skyfoot almost 14 years
    @Amitabh if you update TSVN you may need to update SVN to the same major release version. i.e. TSVN 1.6.8 SVN 1.6.6 will be compatible
  • Aaron Carlson
    Aaron Carlson over 12 years
    Take a look a Stefan Egli answer. V1.7 comes with the option to also install the svn binaries.
  • Drenai
    Drenai almost 12 years
    If you have already installed TortoiseSVN 1.7, then try to reinstall it, and it will give you the option to Modify the install. Click the X'ed out command line option and choose to also install that. Worked for me
  • Ameer Deen
    Ameer Deen almost 12 years
    cinst sliksvn (chocolatey.org/packages/sliksvn), simple way to install it and adds it to your path.
  • itsho
    itsho over 11 years
    I've downloaded VisualSVN (client version), and the setup package includes the Command Line. thank you.
  • David
    David about 11 years
    The thing is, you cannot hide the dialog box on commit
  • jediz
    jediz over 10 years
    nice addition to more common GUI tools like TortoiseSVN
  • Shesha
    Shesha about 8 years
    I have tried by modifying the installer and gave command line tools for installation. I couldn't find "svn.exe".
  • Fabio says Reinstate Monica
    Fabio says Reinstate Monica over 7 years
    It looks to me as if you were describing the solution to a different problem, not to the one asked by the OP. Can you please check you are answering the question?
  • W1M0R
    W1M0R over 7 years
    This answer shows how to install TortoiseSVN and the svn command-line client using msiexec: stackoverflow.com/a/40281053/755405
  • bahrep
    bahrep over 5 years
    downvoted because these binary package does not receive updates anymore
  • James
    James over 2 years
    when I chose this option it asks me to insert a disk. o_O