help-gnats
[Top][All Lists]
Advanced

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

PATCH: v4 send-pr --request-id is broken


From: Yngve Svendsen
Subject: PATCH: v4 send-pr --request-id is broken
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.


reply via email to

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