Where is svn.exe in my machine?

2019-01-06 12:42发布

问题:

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?

回答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. (If you have already installed TortoiseSVN, then rerun the installer, select Modify, and select command line tools for installation.)



回答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.



回答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.



回答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



回答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/



回答6:

If you are using Silk installation, try:

"\Program Files\SlikSvn\bin"



回答7:

Depending on what you need to do, automating TortoiseSVN may be a good solution. For example, the following will update a repository and close the TortoiseSVN window if there were no errors or conflicts:

TortoiseProc.exe /command:update /path:"c:\path\to\repo\" /closeonend:2


回答8:

Yes reinstall and select command line to get the svn in Program Files-> Tortoise SVN folder.



回答9:

Download it from here:

http://sourceforge.net/projects/win32svn/

and run the setup program. The executables are in:

\Program Files (x86)\Subversion\bin

for the default installation.



回答10:

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. (If you have already installed TortoiseSVN, then rerun the installer, select Modify, and select command line tools for installation.)



回答11:

First off, if subversion installed on your machine? if not look at what server your tortoisesvn is setup to connect to.

the default location when subversion is installed is c:\program files\subversion you can find svn.exe in c:\program files\subversion\bin where you can run your cmd line actions.



回答12:

def proc = 'cmd /c C:/TortoiseSVN/bin/TortoiseProc.exe /command:update /path:"C:/work/new/1.2/" /closeonend:2'.execute()

This is my 'svn.groovy' file.