4

I work with Eclipse and use SVN as a VersionControlSystem. I also have TortoiseSVN installed on my PC.

When I'm updating or commiting via mouse by right-click and the Team list option everything works. But I read, that it is even easier to use the command prompt.

Now when I try ty input svn --version or svn --status on the project path I get the message, that the command can not be found. How can I fix this?

My current versions:

TortoiseSVN 1.8.11

SubversiveSVN 4.0.5

Am I missing something?

alroc
  • 26,843
  • 6
  • 49
  • 94
Oskar Westmeijer
  • 99
  • 1
  • 1
  • 12

2 Answers2

9

You can fix this by re-running the Tortoise SVN installer and opting to install the command-line utilities. If you've previously done this and it's still not working (even after a reboot), then you'll need to add C:\Program Files\TortoiseSVN\bin (or whatever is the appropriate path to your TortoiseSVN installation) to your %PATH% environment variable.

SharpC
  • 6,220
  • 4
  • 42
  • 39
alroc
  • 26,843
  • 6
  • 49
  • 94
0

@alroc answer can't solve my problem. I found the solution for me:Run the TortoiseSVN.msi file to add the command line tool.below is the reference:

https://stackoverflow.com/a/34077456/6399074

alan9uo
  • 871
  • 9
  • 15