开发者

After installing msysgit, AnkhSVN tries to use the wrong SSH executable file

I have recently installed msysgit on my machine (its running Windows 7) to use Git for some projects. A lot of my projects are under SVN, in which I use AnkhSVN in Visual Studio 2008 to commit etc.

Since I have installed msysgit everytime I try to commit, update etc inside Visual Studio, the program C:\msysgit\bin\ssh.exe loads up, asks for my passw开发者_JS百科ord, then Ankh throws an exception.

I currently use Pageant to save my login credentials for SVN - I have TortoiseSVN installed, which is still working fine...

Has anybody got any suggestions to get Anhk working again - without uninstalling msysgit?

Thanks


AnkhSVN (or actually SharpSvn) like most subversion clients uses the common Subversion configuration (stored in %APPDATA%\Subversion and/or the registry). If it doesn't find the configured ssh (by default ssh.exe) it uses its own ssh client SharpPlink, just like TortoiseSVN uses TortoisePlink.

In your case AnkhSVN finds your ssh.exe and assumes that you want to use that instead of its builtin ssh. You can fix this by setting an explicit ssh client in the Subversion configuration, or by removing the ssh.exe from your path. (The easiest way to explicitly set a ssh client is setting it from TortoiseSVN's settings or via the SVN_SSH environment variable)


If you check

  • Visual Studio > Tools > Options > Source Control

you should be able to select the Source Control plugin you want.

Installing msysgit may have overridden the AnkhSVN setting.

If it's not there then I'm not sure what to suggest.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜