[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: vc-svn.el without cached passwd.

From: Vincent Hobeïka <vincent.hobeika_at_gmail.com>
Date: Thu, 24 Apr 2014 15:19:36 +0200

Hi Phil,

Maybe you will never see this reply but it could be handy to some
people around here.

I encountered the same problem you described in 2006:

http://svn.haxx.se/users/archive-2006-03/0466.shtml

Sorry I couldn't find the message ID and thus this thread is broken.

>From: Phil Dumont <phil_at_solidstatescientific.com>
>Date: 2006-03-10 20:01:35 CET
>
>I've been a happy user of vc-svn.el for a while now. But recently, I
>was told by my superiors that at one site where I occassionally work,
>I cannot cache my password. So I removed the cache and configured it
>to cache no more. (Yes, I know the cache is permission 600. Not
>good enough in this case. Don't ask.)
>

I have the same issue. my cache is disabled due to the fact passwords
are stored in clear text (because I can't use a password-store for
some nightly scripts using a specific read only access user).

>Now vc-svn.el is broken. It looks as though vc-do-command doesn't
>do what's necessary to look for username/password prompts and have
>emacs ask for them.

I don't use vc-svn.el but psvn.el and the same problem occurs.
Yet there is a way to give your password to the svn process with psvn.el

From http://www.xsteve.at/prg/emacs/psvn.el :

;; Q3: How do I enter a username and password?
;; A3: In the *svn-status* buffer press "s", switch to the
;; *svn-process* buffer and press enter. You will be prompted for
;; username and password.

It works for some commands but not all commands unfortunately. For
instance it works well when asking for the log command but it totally
fails with the diff command. The process ends up with a credential
error and we cannot pass our password for this action.

Moreover when you give your password to the process it is displayed in
clear text in your emacs. This is really annoying.

psvn version is the one shipped with GNU/Linux Debian wheezy.

Well my two cents… I thought it could help some people with the same
kind of issues.

Best regards.

-- 
Vincent
Received on 2014-04-24 15:53:40 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.