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

Re: How do I set the author name on log messages ?

From: Blair Zajac <blair_at_orcaware.com>
Date: 2007-08-22 07:57:13 CEST

Leonel Gayard wrote:
> Hi,
>
> When committing, Subversion uses my login as the author name in the log message.
>
> How do I set the author name that appears in the log messages to
> something more meaningful that my login name ? For instance, I believe
> my name and e-mail address are more meaningful to someone reading the
> logs than my login.

You can use svn propset --revprop -r N svn:author NAME

> Can it be done in a configuration file so it is done automatically
> when committing ?

You could have the pre-commit or start-commit change the transaction or
post-commit to change the revision.

> On the other hand, what is the common practice in Subversion
> environments ? Are names and e-mail addresses used instead of logins
> in most projects ? Do people even think about that ?

If you have a flat file holding usernames and passwords, then I typically set up
the usernames using email addresses. If you use LDAP or ActiveDirectory, then
the username is the email address already, potentially missing the @domainname part.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 22 07:55:22 2007

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