Search code examples
windowssvnemacscygwinbasic-authentication

svn version control authentication fails when run from emacs


I'm using on my desktop native windows emacs 24.2 configured to use cygwin bash.

When I run SVN from cygwin bash everything works fine. It remembers my authorization credentials and connects to a repository. But when I try to run any version-control command from within emacs I always get the following message:

svn: E170001: Unable to connect to a repository at URL 'https://address.to.repo' svn: E170001: OPTIONS of 'https://address.to.repo': authorization failed: Could not authenticate to server: rejected Basic challenge

I tried also connect with PSVN interface which also ends up with the same error message. It is somehow strange that it does not work the same way from cygwin terminal and emacs. Any help on this would be appreciated.


Solution

  • Solved now. The problem was that Emacs NT cygwin integrated was still using windows HOME path instead of using cygwinized HOME directory.