cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml

Giorgos Keramidas keramida at ceid.upatras.gr
Sun May 11 08:22:50 PDT 2003


On 2003-05-08 14:47, "Bruce A. Mah" <bmah at acm.org> wrote:
> If memory serves me right, Will Andrews wrote:
> > On Thu, May 08, 2003 at 02:20:14PM -0700, Bruce A. Mah wrote:
> > > Approved by:	re (implicitly)
> > >
> > > If anyone knows how to make emacs's version control put up something
> > > resembling our CVS commit message template file when I commit, I'd
> > > greatly appreciate it.  I must do this four or five times every release.
> >
> > You're part of re at .  It should be obvious that if a member of re@
> > commits something that requires re@ approval, it has it.  ;)
>
> In a sense, you're right, but I should still try to set a good example
> by making sure I put the right contents in these fields.
>
> You know this, but in case anyone else was wondering:  REs *do* ask for
> approvals from each other for commits that don't directly pertain to
> release-building (or areas of blanket commit authority), so being a
> member of re@ isn't a free pass to walk all over the tree during the
> code freeze.  :-)

Not really CVS template related (this is probably handled with the -T
option of `cvs update'), but you can always write a small elisp function
like this:

; (defun freebsd-add-re-approval ()
;   "Add an 'Approved by: re' line to a commit log."
;   (interactive)
;   (save-excursion
;     (beginning-of-buffer)
;     (while (re-search-forward "^Approved by:[[:space:]].*$" nil t)
;       (replace-match "Approved by:      re" nil nil))))

and then bind it to something in your .emacs file or call it
interactively with M-x.  With a little hacking you can make this accept
an 'argument' too and append "re (implicitly)" when called with C-u M-x :)

- Giorgos



More information about the cvs-all mailing list