This is the mail archive of the
gnats-devel@sources.redhat.com
mailing list for the GNATS project.
PATCH: v4 send-pr --request-id is broken
- To: gnats-devel at sources dot redhat dot com
- Subject: PATCH: v4 send-pr --request-id is broken
- From: Yngve Svendsen <yngve dot svendsen at clustra dot com>
- Date: Tue, 15 May 2001 16:30:06 +0200
send-pr --request-id is not working in the current v4 CVS. Instead of the
intended PR, the default template would be sent. The following patch fixes
this.
Yngve Svendsen
Index: send-pr.sh
===================================================================
RCS file: /cvs/gnats/gnats/send-pr/send-pr.sh,v
retrieving revision 1.16
diff -u -p -r1.16 send-pr.sh
--- send-pr.sh 2001/04/08 18:28:25 1.16
+++ send-pr.sh 2001/05/15 14:29:29
@@ -432,16 +432,16 @@ fi
# TEMP is the PR that we are editing. When we're done, REF will contain
# the final PR to be sent.
-while [ -z "$REQUEST_ID" ]; do
- CNT=0
+#
+# Remove comments.
+#
+echo '/^SEND-PR:/d' >> $FIXFIL
+sed -f $FIXFIL $TEMP > $REF
- #
- # Remove comments.
- #
- echo '/^SEND-PR:/d' >> $FIXFIL
- sed -f $FIXFIL $TEMP > $REF
+# REF now has the actual PR that we want to send.
- # REF now has the actual PR that we want to send.
+while [ -z "$REQUEST_ID" ]; do
+ CNT=0
#
# Check that synopsis is not empty.