问题
I have a project that uses totoiseSVN. Before upgrading it to 1.7 version all works fine, but when I upgrade tortoiseSVN to 1.7 version it gives me an error when I try to commit or to show history log or to update:
org.tigris.subversion.javahl.ClientException: Unsupported working copy format
The path 'C:\Users\user\stuff\myApp' appears to be part of a Subversion 1.7 or greater
working copy. Please upgrade your Subversion client to use this
working copy.
As I know if my system has toriseSVN installed Netbeans uses it by default. Also I have read that .svn
directory is located only in the root(as in my case) of project(working copy) in svn 1.7+. So why netbeans tells me that I have to upgrade the svn client as I already have the newest version
回答1:
Enable Command line switch in your application shortcut/execution path:
-J-DsvnClientAdapterFactory=commandline
Example
“C:\Program Files\NetBeans 7.0.1\bin\netbeans.exe” -J-DsvnClientAdapterFactory=commandline
回答2:
Setting -J-DsvnClientAdapterFactory=commandline
option and including svn executable in your PATH
system variable is enough to solve this problem.
You can set the option by doing this in a way described by tpae OR by adding this option to netbeans_default_options
property in <netbeans_dir>\etc\netbeans.conf
file.
回答3:
Netbeans uses the command line client. You still have an 1.6.x version of the command line client somewhere in your PATH env variable.
来源:https://stackoverflow.com/questions/8604767/svn-1-7-in-netbeans-7-0