5

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
  • 27,574
  • 6
  • 51
  • 97
Oskar Westmeijer
  • 119
  • 1
  • 1
  • 13

2 Answers2

10

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,974
  • 4
  • 45
  • 40
alroc
  • 27,574
  • 6
  • 51
  • 97
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
  • 1,011
  • 1
  • 11
  • 17