Après avoir installé msysgit, AnkhSVN essaie d'utiliser le mauvais fichier exécutable SSH

StackOverflow https://stackoverflow.com/questions/2967209

  •  24-10-2019
  •  | 
  •  

Question

Je l'ai récemment installé msysgit sur ma machine (son exécutant Windows 7) à utiliser Git pour certains projets. Beaucoup de mes projets sont sous SVN, où j'utilise AnkhSVN dans Visual Studio 2008 pour commettre etc.

Depuis que je l'ai installé à chaque fois que je msysgit essaie de commettre, mettre à jour, etc dans Visual Studio, le programme C:. \ Msysgit \ bin \ charge ssh.exe vers le haut, demande mon mot de passe, puis Ankh lance une exception

J'utilise actuellement Pageant pour sauver mes identifiants de connexion pour SVN - Je TortoiseSVN installé, qui fonctionne toujours très bien ...

Quelqu'un at-il eu des suggestions pour travailler Anhk à nouveau - sans désinstaller msysgit

Merci

Était-ce utile?

La solution

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)

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top