Where is svn.exe in my machine?

2019-01-06 12:24发布

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?

12条回答
老娘就宠你
2楼-- · 2019-01-06 12:59

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.

查看更多
干净又极端
3楼-- · 2019-01-06 13:00

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
查看更多
Lonely孤独者°
4楼-- · 2019-01-06 13:02
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.

查看更多
一夜七次
5楼-- · 2019-01-06 13:05

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.

查看更多
Melony?
6楼-- · 2019-01-06 13:09

If you are using Silk installation, try:

"\Program Files\SlikSvn\bin"

查看更多
狗以群分
7楼-- · 2019-01-06 13:11

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.)

查看更多
登录 后发表回答