The following commit has been merged in the master branch:
commit acbcf6a329da33765f1f8a43369521e2dbe76fc1
Author: James McCoy <[email protected]>
Date:   Sat Oct 6 15:24:31 2012 -0400

    bts: Don't require a usertag after a `=' operator.
    
    Closes: #689815
    Signed-off-by: James McCoy <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index 0620887..58c8441 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ devscripts (2.12.5) UNRELEASED; urgency=low
   * bts:
     + Provide a clearer error message when Authen::SASL isn't installed.
       (Closes: #689816)
+    + Don't require a usertag after a `=' operator.  (Closes: #689815)
 
  -- James McCoy <[email protected]>  Sat, 06 Oct 2012 15:19:58 -0400
 
diff --git a/scripts/bts.pl b/scripts/bts.pl
index e9382cd..0d0e552 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -1700,7 +1700,7 @@ sub bts_usertags {
        $command .= " $flag";
     }
 
-    if (! @_) {
+    if ($flag ne '=' && ! @_) {
        die "bts usertags: set what user tag?\n";
     }
 

-- 
Git repository for devscripts

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to