[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: v4 send-pr --request-id is broken
From: |
Milan Zamazal |
Subject: |
Re: PATCH: v4 send-pr --request-id is broken |
Date: |
27 May 2001 17:12:32 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 |
>>>>> "YS" == Yngve Svendsen <address@hidden> writes:
YS> send-pr --request-id is not working in the current v4
YS> CVS. Instead of the intended PR, the default template would be
YS> sent. The following patch fixes this.
I don't understand the patch, could you elaborate, please?
YS> Index: send-pr.sh
YS> ===================================================================
YS> RCS file: /cvs/gnats/gnats/send-pr/send-pr.sh,v
YS> retrieving revision 1.16
YS> diff -u -p -r1.16 send-pr.sh
YS> --- send-pr.sh 2001/04/08 18:28:25 1.16
YS> +++ send-pr.sh 2001/05/15 14:29:29
YS> @@ -432,16 +432,16 @@ fi
YS> # TEMP is the PR that we are editing. When we're done, REF will
contain
YS> # the final PR to be sent.
YS> -while [ -z "$REQUEST_ID" ]; do
YS> - CNT=0
YS> +#
YS> +# Remove comments.
YS> +#
YS> +echo '/^SEND-PR:/d' >> $FIXFIL
YS> +sed -f $FIXFIL $TEMP > $REF
YS> - #
YS> - # Remove comments.
YS> - #
YS> - echo '/^SEND-PR:/d' >> $FIXFIL
YS> - sed -f $FIXFIL $TEMP > $REF
YS> +# REF now has the actual PR that we want to send.
YS> - # REF now has the actual PR that we want to send.
YS> +while [ -z "$REQUEST_ID" ]; do
YS> + CNT=0
YS> #
YS> # Check that synopsis is not empty.
Regards,
Milan Zamazal
--
_/_\_/_ o _\_/_\_ o _/_\_/_ o _\_/_\_ o BEWARE!
-<_|_|_|_><-- -<_|_|_|_><-- -<_|_|_|_><-- -<_|_|_|_><-- *Bugs* are
/ \ / o \ / \ o / \ / o \ / \ o approaching!