help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting email and name for Changelogs in vc mode


From: Ian Zimmerman
Subject: Re: setting email and name for Changelogs in vc mode
Date: Thu, 02 Mar 2006 21:41:18 -0800 (PST)
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Angelina> Sadly though using your method still gives me 2006-03-01
Angelina> author <author@morcheeba>

Looking at what vc-default-update-changelog actually does, it just
executes rcs2log with the appropriate -u argument.  And according to
the rcs2log manpage,

       -u "LOGIN\tFULLNAME\tMAILADDR"
         Assume LOGIN has FULLNAME and MAILADDR.

i.e. the first part doesn't override what the login name is, it serves
as a key to associate the real full name and address (It makes sense
that it works this way, it makes it harder to lie about who checked in
the changes.)

So, what you need to do is set (temporarily, if you don't want future
changes as "author" too)

vc-user-login-name to "author"
user-full-name to "Angelina Carlton"
user-mail-address to "brat@magma.ca"

Confused?  That'll teach you to lie :-)

-- 
A true pessimist won't be discouraged by a little success.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]