Auto Header in file
Robert Bauck Hamar
r.b.hamar at usit.uio.no
Wed Jul 8 11:44:51 CDT 2009
*Christian Ebert:
>* Robert Bauck Hamar on Wednesday, July 08, 2009 at 14:11:20 +0200
>>> I'm really interest to explore an option in Mercurial and I don't know how to ...
>>>
>>> So when a person add a file, commit, and push on the server. We
>>> 've got the author of the modif' in the log. I'm searching how to
>>> automate the add of the author of the modif' and the date directly
>>> in the modified file. Is it possible to do that?
>>
>> There are essentially two options:
>>
>> 1. Insert this on input.
>> 2. Insert on archive/checkout
>>
>> 1 is not possible with Mercurial[0].
>
>With the keyword extension enabled, like in CVS, the keyword(s)
>are expanded on commit, update etc. in the working directory.
Yes. By "Insert this on input", I meant storing the author name in the
checked in version. AFAICS, the keywordextension carefully removes this
information before commiting. Sorry for expressing myself in an unclear
manner.
Short notice: You obviously don't want (nor can) check in the revision
id of the last change to a file, but authorship is often different.
--
Robert Bauck Hamar
USIT/SAPP/GT - Cerebrum
http://www.uio.no/sok?person=hamar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20090708/91fd1ea6/attachment.pgp
More information about the Mercurial
mailing list