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

Re: username for commit

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-08-08 14:12:40 CEST

Maillinglisten wrote:
> Hi,
>
> Im looking for a way to avoid passing --username to svn commit's. My
> current problem is that I have a very small development-environment
> with only 3 developers and all have to do testing on the one-and-only
> test-server. Everybody uses one account for that (we use sudo to open
> a shell of that user) otherwise we have some permission-problems in
> our scenario.

> Anyway since developers are lazy :x they omit the --username and just
> use the standard-user for commiting, but we'd like to have the
> commit-messages-username to be the unix-name of that developer. I have
> checked the book/faqs but couldn't find anything like setting an
> environment-variable or something to accomplish this. Is there a way
> to set the username for f.e. commit except the commandline-switch? Is
> the start-commit-hook capable of changing the username for commits? We
> use svnserve as repository-server.

You *could* set your pre-commit to fail verbosely if the username is not set
to a real user. I use similar settings to fail if the person fails to enter
a log when making changes.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 8 14:13:59 2006

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.