]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2002-10-20 16:17:21 by cjwatson]
authorcjwatson <>
Sun, 20 Oct 2002 23:17:21 +0000 (15:17 -0800)
committercjwatson <>
Sun, 20 Oct 2002 23:17:21 +0000 (15:17 -0800)
Relax the syntax for 'tags' slightly to allow a missing space after [+-=].

debian/changelog
scripts/service.in

index 8bd874d000b4da70914b5eb7e5041bcd1f74550e..176be61dc8796fed09de64cb7bff4d14f973e072 100644 (file)
@@ -71,6 +71,8 @@ debbugs (2.4) experimental; urgency=low
   * Trim Bug#12345: from the Subject:, not "Bug#12345: [", closes: #78123.
     [Anthony]
   * Be more careful about loop detection, closes: #113514. [Adam, Colin]
+  * Relax the syntax for 'tags' slightly, since people seem to use it that
+    way accidentally a lot, closes: #96164. [Colin]
   * Fix a few typos, closes: #146745, #152751.
   * Various other things, not worth mentioning here.
 
index 086395f7f38a94b0f22ac5bdedfe5cb15151eeb8..6ee0e5804901f937a9ff8f04f47ef49fecb413c9 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# $Id: service.in,v 1.57 2002/10/20 13:21:15 cjwatson Exp $
+# $Id: service.in,v 1.58 2002/10/20 16:17:21 cjwatson Exp $
 # ^ more or less ^
 #
 # Usage: service <code>.nn
@@ -439,7 +439,7 @@ END
                 $s_severity= $newseverity;
             } while (&getnextbug);
         }
-    } elsif (m/^tags?\s+\#?(-?\d+)\s+(([=+-])\s+)?(\S.*)?$/i) {
+    } elsif (m/^tags?\s+\#?(-?\d+)\s+(([=+-])\s*)?(\S.*)?$/i) {
        $ok++;
        $ref = $1; $addsubcode = $3; $tags = $4;
        $addsub = "add";