Re: Re: cvs: php4(php_4_0_4) /ext/db php_db.h

From: Date: Sun, 03 Dec 2000 03:46:01 +0000
Subject: Re: Re: cvs: php4(php_4_0_4) /ext/db php_db.h
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-39884@lists.php.net to get a copy of this message
On Sun, Dec 03, 2000 at 01:02:13AM -0000, James Moore wrote: > The commit msg is different.. look at the subject of this email its > php4(php_4_0_4) rather than just php4. When you are actually about to commit > I think a CVS status file.c will show any current sticky tags on that file > (IE it should show php_4_0_4. It would be nice if the branch were printed in the message body, too. For example (totally untested): Index: loginfo.pl =================================================================== RCS file: /repository/CVSROOT/loginfo.pl,v retrieving revision 1.36 diff -u -r1.36 loginfo.pl --- loginfo.pl 2000/10/20 23:57:56 1.36 +++ loginfo.pl 2000/12/03 03:42:32 @@ -191,7 +191,8 @@ $DAYABBR[$gmtime[6]], $gmtime[3], $MONABBR[$gmtime[4]], $gmtime[5] + 1900, $gmtime[2], $gmtime[1], $gmtime[0]); -$tag = $tag ? "($tag)" : ''; +my $subj_tag = $tag ? "($tag)" : ''; +my $body_tag = $tag ? "Tag: $tag\n\n" : ''; no strict; # quiet warnings after here @@ -201,11 +202,12 @@ "To: $mailto\n". $msgid. $rfc822date. - "Subject: cvs: $module$tag $subj\n"; + "Subject: cvs: $module$subj_tag $subj\n"; my $common_body = "". "$cvsuser\t\t".localtime()." EDT\n". "$msg". + "$body_tag". " Log:\n". &indent($logmsg,2)."\n"; -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.dev (#39884) next »