How to set SVN password using Emacs 23.1 built-in integration?

I am doing a CentOS 6.2 project with an Emacs 23.1.1 distribution and subversion using svnserver.

I can not find anywhere how to set a password to access the repository. [There is another question here ( SVN for Emacs: how do you set the author’s name and save the password? ), But there is no suitable answer for my circumstances.]

BACKGROUND:

Due to client delivery requirements, I need to add as many additional installation options as possible - using yum install, where possible, find the RPM without yum if necessary and manually install it as a last resort.

I am using subversion (SVN) from a distribution with Syntevo SmartSVN (one example of a non-distribution). I also needed to install new Java.

So far I have not had to install anything else.

This all works, but it would be nice to be able to do directly from my editing sessions in Emacs.

ERRORS:

When I use Ctl-x vv for commit, I get a commit message buffer.

Ctl-c Ctl-c fails with the message: Registration failed.

Messages show

... Press Cc Cc when you are done editing. Enter a change comment. Type Cc Cc when done Checking in /home/keywords2/www/html/kw2Show.php... vc-svn-checkin: Check-in failed ... 

vc shows

 Authentication realm: <svn://localhost:3690> 47300edb-8fa2-460e-889a-ad1513dbfcdf Password for 'keywords2': Authentication realm: <svn://localhost:3690> 47300edb-8fa2-460e-889a-ad1513dbfcdf Username: svn: Commit failed (details follow): svn: Can't read stdin: End of file found 
+3
svn passwords emacs integration
source share
1 answer

I assume that Emacs uses the command line client internally, and you can also use it directly.

SVN stores credentials - depending on the store-auth-creds - in $HOME/.subversion/config . SVN will only ask for a password if it does not already know this. So, call SVN once from the command line and enter the password. Subsequently, you can use SVN without a password - from the command line, as well as from Emacs.

Try with a simple command, for example. svn up .

+4
source share

All Articles