info-cvs
[Top][All Lists]
Advanced

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

rcs2log patch


From: Felipe Leme
Subject: rcs2log patch
Date: Tue, 19 Jun 2001 14:29:42 -0700
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; rv:0.9.1) Gecko/20010607

Hi all,

I had to use rcs2log to generate some ChangeLog files, but I couldn't show the authors of the changes. So I modified the rcs2log.sh to support it, and I'm sending the patch below (I think it would be a nice and useful feature for the script).

Regards,

Felipe

Index: rcs2log.sh
===================================================================
RCS file: /cvsroot/ccvs/contrib/rcs2log.sh,v
retrieving revision 1.7
diff -r1.7 rcs2log.sh
16a17
>   -a Does not display authors name and email address
31c32
< Id='$Id$'
---
> Id='$Id: rcs2log,v 1.45 1998/08/12 22:33:01 eggert Exp $'
77a79
> anonimous= # t if we don't want to display authors name and email address
81a84
>       -a) anonimous=t;;
573a577
>               anonimous = "'"$anonimous"'"
648,652c652,661
<                       printf "%s%s  %s  ", date, zone, auth
<                       if (mailaddr[author])
<                               printf "<%s>\n\n", mailaddr[author]
<                       else
<                               printf "<address@hidden>\n\n", author, 
"'"$hostname"'"
---
>                       printf "%s%s", date, zone
>                       if ( anonimous != "t" ) {
>                               printf "  %s  ", auth
>                               if (mailaddr[author])
>                                       printf "<%s>\n\n", mailaddr[author]
>                               else
>                                       printf "<address@hidden>\n\n", author, 
> "'"$hostname"'"
>                       } else
>                               printf "\n\n"
>                       

reply via email to

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