Am 10.02.2015 um 23:59 schrieb Timo Kreuzer:
I tried to do an SVN DCommit (git-svn) using TGIT. It used to work flawlessly. I didn't change anything in my checkout, but suddenly it doesn't work anymore and I get an error: ERROR from SVN: Authorization failed: Cannot negotiate authentication mechanism
I had a look after this issue and it's caused by the ancient SVN binary that's shipped with msysGit (SVN 1.4.6). Since moving our server to LDAP user authentication, we require at least SVN 1.5.0 from June 2008 on the client side. I didn't expect even older binaries to be still in use, but apparently they are, and the msysGit people aren't giving this issue high priority (see https://github.com/msysgit/msysgit/wiki/Subversion-is-too-old)
Anyway, SVN 1.4.6 should still work when accessing our repository over https:// instead of svn://. To change the URL for your existing Git repository, please do the following:
* Open the .git/config file of your repository and change the URL from svn:// to https:// there. * Do an "SVN Fetch" with TortoiseGit. This needs to fetch at least one new revision!! If not, commit some dummy revision first and do the "SVN Fetch" afterwards. * Do an "SVN Rebase" with TortoiseGit to rebase your commits on top of the newly fetched revision. * Finally, do the "SVN DCommit". It should properly connect to the https:// repository now and do your commits.
The other possible workaround may be checking out the git-svn repo using the https:// URL from scratch, creating a patch serial from your existing repository and applying it on the new Git checkout. But I believe this to take much more time.
Cheers,
Colin