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

RE: Subversion asking for password over and over again

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: 2007-06-13 14:28:25 CEST

Thanks for your answer.

 

I haven't tried it yet, but I forgot to tell you that the same user
works fine with the production repositories (subversion does not ask for
a password).

 

Giulio

 

________________________________

From: Rahul [mailto:rahul8024@yahoo.com]
Sent: 13 June 2007 13:13
To: Giulio Troccoli; users@subversion.tigris.org
Subject: Re: Subversion asking for password over and over again

 

Hi Troccoli,
                   For this edit the file config which is placed in
.subversion folder on your home and set `store-passwords = Yes' and
`store-auth-creds = Yes`
Hopefully it will do
Rg,
Rahul

Giulio Troccoli <Giulio.Troccoli@uk.linedata.com> wrote:

I have been using Subversion for a year or so now and I have 3
productions repositories and 3 or 4 testing repositories. I am using one
of these repositories to test some scripts I am writing.

My testing repository is a copy of a production one and what I did is:
- svnadmin dump
- create the repository dir
- svnadmin create
- svnadmin load
- copy the hooks from production to testing

The post-commit hook contains some code to change the log message, using
svn ps, and it works fine in production. However it does not in testing.
If I run the script manually svn stops when changing the svn:log
property to ask for the Subversion password. I thought this was fine the
first time, as it was a new repository, but even after I entered the
password the first time (and it was the correct password as svn ps
succeeded) this is not stored and I have to enter it again, making it
impossible for the post-commit script to work.

The strange thing is that when I use another user to commit the changes
to the repository (so that the post-commit script is call) subversion
asked me for the password just the first time.

I am very confused because firstly it seems that the password is stored
for one user and not the other, and secondly because I don't recall
having done anything in the production repository to tell subversion to
store the password so I don't know if I have to do something on the
testing repository.

Can anybody help please?

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1
6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

 

  

________________________________

Get your own web address.
<http://us.rd.yahoo.com/evt=49678/*http:/smallbusiness.yahoo.com/domains
/?p=BESTDEAL>
Have a HUGE year through Yahoo! Small Business.
Received on Wed Jun 13 14:28:52 2007

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.