5

I'm on a Windows machine. When I type in svn --version, I get this:

'svn' is not recognized as an internal or external command, operable program or batch file.

I'm using TortoiseSVN. Is there some way to view the version through it?

I have looked at this but the server does not output any version information: How to find my Subversion server version number?

Community
  • 1
  • 1
4thSpace
  • 41,122
  • 88
  • 267
  • 450
  • IIRC Tortoise doesn't come with a command line client, but works with an embedded svn library (or something like that). I usually work with [SlikSVN](https://sliksvn.com/) when I need a command line client.I don't know of any way to know the server SVN version without accessing the server. – watery Mar 17 '15 at 16:31
  • Right-click, choose Tortoise SVN->About from the context menu, see Version Information. It gives you both the Tortoise SVN and SVN version numbers. – Ken White Mar 17 '15 at 16:32
  • 1
    @watery: It comes with a command-line version as well. – Ken White Mar 17 '15 at 16:32
  • @KenWhite Where's it? Or is it a separate download / install option? – watery Mar 17 '15 at 16:33
  • 1
    @watery: It's in the TortoiseSVN\bin folder (svn.exe, svnadmin.exe, svnlook.exe, etc.) – Ken White Mar 17 '15 at 16:34
  • @KenWhite Just to clear that out (nothing to do with the question) this is my \bin .exe list: {ConnectVPN.exe, SubWCRev.exe, SubWCRevCOM.exe, TortoiseBlame.exe, TortoiseIDiff.exe, TortoiseMerge.exe, TortoisePlink.exe, TortoiseProc.exe, TortoiseUDiff.exe, TSVNCache.exe} – watery Mar 17 '15 at 16:37
  • @watery: I have considerably more than that, and did nothing except download and install TortoiseSVN (64-bit) on Windows 7. – Ken White Mar 17 '15 at 16:39
  • 4thSpace, just to be sure, you're not looking to the svn repository format version, right? – watery Mar 17 '15 at 16:43
  • @KenWhite: Excellent. Thanks. – 4thSpace Mar 17 '15 at 16:43
  • ... yes there is a separate option in the setup menu of TortoiseSVN to install command-line SVN tools https://stackoverflow.com/questions/2967176/where-is-svn-exe-in-my-machine#2967196 – hello_earth Sep 20 '17 at 13:31

2 Answers2

9

If you have TortoiseSVN integrated with Windows File Explorer, then you can follow these steps:

  1. Right-click on the desktop or in the File Explorer.
  2. Click TortoiseSVN.
  3. Click About. Versions of the components used by TortoiseSVN are listed there.

enter image description here

bahrep
  • 26,679
  • 12
  • 95
  • 136
bartexsz
  • 229
  • 1
  • 10
  • 1
    Just to clarify, "Subversion 1.13.0" in the above screen shot is not the Subversion Server version number. That is the client SVN version number. You can prove this by upgrading to latest version of TortoiseSVN on your workstation and without upgrading the SVN Server version you will notice the Tortoise About dialog box will show the "Subversion" release being incremented, even though you didn't upgrade the server. In short, the TortoiseSVN About dialog box does not show the actual SVN Server release version #. – B_e_n_n_y_ Apr 01 '20 at 16:10
  • @B_e_n_n_y_ I was assuming that the question is only about the version of the client. If this question is about the version of the server, there is another thread https://stackoverflow.com/q/141146/761095 – bahrep Apr 02 '20 at 02:22
0

The error means that the svn.exe client is either missing on your computer or its parent path is not included in the %PATH% environment variable.

bahrep
  • 26,679
  • 12
  • 95
  • 136