tags:

views:

74

answers:

4

Hi all,

I was wondering if there is a way to save my svn password when doing svn operations from the console. The console is the only option that I have. When I try to do any svn action "eg svn commmit," it prompts for the account password every time. Is there a way to save this password somehow so that I don't have to retype it every time? Thanks.

A: 

Maybe save it with the whole command in a batch file?

Pavel Radzivilovsky
A: 

try clearing your .subversion folder in your home directory and try to commit again. It should prompt you for your password and then ask you if you would like to save the password

Earlz
You mean the .subversion folder instead!
khmarbaise
@khm yea I meant that. thanks
Earlz
+2  A: 

In ~/.subversion/config, you probably have store-passwords = no. Change it to yes or just comment it out (it defaults to yes), and the next time you give subversion your password it should save it

Michael Mrozek
A: 

It depends on the protocol you're using. If you're using svn+ssh, the svn client can't save your password because it never touches it - the ssh client prompts you for it directly. In this case, you can use an ssh key and ssh-agent to avoid the constant prompts. If you're using the svnserve protocol or HTTP(S), then the svn client is handling your password and can save it.

Andrew Medico