The following commit has been merged in the master branch:
commit 694a9925a5f82ae25f19e136e0a84d1578da4e35
Author: James Vega <[email protected]>
Date: Mon Jan 17 18:27:26 2011 -0500
bts: Make the message number optional for the “summary” sub-command.
This allows clearing an already set summary.
Closes: #610326
Signed-off-by: James Vega <[email protected]>
diff --git a/debian/changelog b/debian/changelog
index a6eb5b7..06f3f16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ devscripts (2.10.70) UNRELEASED; urgency=low
* Use “mktemp --tmpdir” instead of specifying an absolute path under /tmp.
(Closes: #610027)
* Fix a typo in debchange(1). (Closes: #610192)
+ * bts: Make the message number optional for the “summary” sub-command. This
+ allows clearing an already set summary. (Closes: #610326)
[ Christoph Berg ]
* debcheckout: For debian-dir-only repositories, also retrieve the source
diff --git a/scripts/bts.pl b/scripts/bts.pl
index 8af020e..4ffe637 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -1268,19 +1268,18 @@ sub bts_retitle {
mailbts("retitle $bug to $title", "retitle $bug $title");
}
-=item summary <bug> <messagenum>
+=item summary <bug> [<messagenum>]
Select a message number that should be used as
the summary of a bug.
+If no message number is given, the summary is cleared.
+
=cut
sub bts_summary {
my $bug=checkbug(shift) or die "bts summary: change summary of what
bug?\n";
my $msg=shift || '';
- if (! length $msg) {
- die "bts summary: set summary of $bug to what message number?\n";
- }
mailbts("summary $bug $msg", "summary $bug $msg");
}
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].