Date: Sun, 11 May 2003 17:31:05 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Bruce A. Mah" <bmah@acm.org> Cc: cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/release/doc/en_US.ISO8859-1/relnotes/common new.sgml Message-ID: <20030511143105.GD13922@gothmog.gr> In-Reply-To: <200305082147.h48Ll5xV017960@bmah.dyndns.org> References: <200305082109.h48L9deO082933@repoman.freebsd.org> <200305082120.h48LKExV017697@bmah.dyndns.org> <20030508212210.GZ26372@procyon.firepipe.net> <200305082147.h48Ll5xV017960@bmah.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-05-08 14:47, "Bruce A. Mah" <bmah@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@. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030511143105.GD13922>