Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git svn: password for svn is not stored

I'm using git against a central remote svn repository using 'git-svn'. The SVN repository uses https with a self-signed certificate. Everything works fine, with one nasty exception. As long as I use directly with svn, the password is remembered, so it has to by typed only on the first command.

When using git-svn operations (e.g. dcommit, rebase), the password is no longer remembered and manual input is required. After a git-svn oparation, direct svn commands do no longer remember the password too, also prompting each time.

What's going on here? Any hints?

My environment: Ubuntu 10.04 64 bit, git-core and git-svn 1.7.0.4-1

like image 438
Stefan Armbruster Avatar asked Jun 27 '10 10:06

Stefan Armbruster


People also ask

Where is SVN password stored?

On Windows, the Subversion client stores passwords in the %APPDATA%/Subversion/auth/ directory.


1 Answers

I have a similar usage scenario (svn over https, password, using git for a local repository and push/pull to the svn server), however I haven't encountered this issue you are mentioning.

One difference I see is that I set subversion to save my password and not to ask it every time. You could try that to see if it works.

And I see a similar question here, it seems that wiping the whole ~/.subversion directory helped (make sure you have a backup of the directory if you try that)

like image 180
Unknown Avatar answered Oct 30 '22 18:10

Unknown