Where is svn.exe in my machine?

前端 未结 14 1265
眼角桃花
眼角桃花 2020-11-29 02:41

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.

相关标签:
14条回答
  • 2020-11-29 02:56

    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.

    0 讨论(0)
  • 2020-11-29 02:56
    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.

    0 讨论(0)
  • 2020-11-29 02:57

    If you are using Silk installation, try:

    "\Program Files\SlikSvn\bin"

    0 讨论(0)
  • 2020-11-29 03:07

    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.

    0 讨论(0)
  • 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
    
    0 讨论(0)
  • 2020-11-29 03:10

    I installed TortoiseSVN-1.12.2.28653-x64-svn-1.12.2 in Windows 10 with commandline tool enabled. Still it didn't have the svn.exe file inside the bin folder.

    So I downloaded Apache Subversion commandline tools from https://www.visualsvn.com/files/Apache-Subversion-1.13.0.zip. After unzipping, I have put the following two locations into my PATH variable:

    C:\Program Files\TortoiseSVN\bin
    E:\Apache-Subversion-1.13.0\bin
    

    Everything works fine for me after this configuration.I wanted to use SVN in VsCode IDE.

    0 讨论(0)
提交回复
热议问题