public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: Yngve Svendsen <yngve.svendsen@clustra.com>
To: gnats-devel@sources.redhat.com
Subject: PATCH: v4 send-pr --request-id is broken
Date: Tue, 15 May 2001 07:31:00 -0000	[thread overview]
Message-ID: <5.0.0.25.2.20010515162348.00b68248@mail.trd.clustra.com> (raw)

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	other threads:[~2001-05-15  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-15  7:31 Yngve Svendsen [this message]
2001-05-27  8:43 ` Milan Zamazal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.0.0.25.2.20010515162348.00b68248@mail.trd.clustra.com \
    --to=yngve.svendsen@clustra.com \
    --cc=gnats-devel@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).