You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Leonel Gayard <le...@gmail.com> on 2007/08/22 01:15:47 UTC

How do I set the author name on log messages ?

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.

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

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 ?

Thanks,
Leonel

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

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

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 21, 2007, at 20:15, Leonel Gayard wrote:

> 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.
>
> Can it be done in a configuration file so it is done automatically
> when committing ?
>
> 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 ?

Check out this other thread about this same topic from a week ago:

http://svn.haxx.se/users/archive-2007-08/0347.shtml



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

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

Posted by Blair Zajac <bl...@orcaware.com>.
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.
<bl...@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