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

RE: How to force subversion to ask for username at a commit

From: Miller, Eric <Eric.Miller_at_amd.com>
Date: Fri, 29 Feb 2008 08:10:14 -0800

> Hello subversion users
>
> I have a problem that maybe some others have encountered in the past
> before.
>
> We have here a simulation lab with several pc's. On each machine
(linux)
> is the same repository checked out with the same username. Password
> storing is enabled, so users do not enter a password when updating the
> working copy. The most time we develop software for this lab in our
office
> where each user commits changes with his user name on his pc. When it
> comes to integration and testing in the lab we do a lot of additions
of
> code in the lab on some of the pc's and we have to update all others
with
> an svn update. So far so good. The problem is, that all commits done
in
> the lab are done with the user the repo was checked out with and no
one
> can realy figure out who made which changes. I would like to be able
to do
> updates with the user that checked out the repo without entering any
> password and get asked by subversion at a commit for a user and
password.
> What I tried so far was that I gave this lab checkout user only read
> access to the repo and all others read/write access, enabled password
> storing only during the first checkout so that this single password
was
> stored in the auth section of my .subversion folder. Disabled the
password
> section afterwards and tried to commit changes. I only get the error
that
> it is forbidden for this user, because it tries to use the user which
> checked out the working copy. Is there a way to force the svn client
to
> ask for a user name when commiting and still can do svn updates with
the
> lab user without entering any passwords? Maybe a wrapper script around
> svn? Or is there any internal configuration settings I can use?
>
> On my local machine I am using subversion 1.4
> On the server is currently a 1.3.2 installed

The easiest way (I think) is to use svn+ssh:// and set up passwordless
authentication.

Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-29 17:12:11 CET

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.