From: Don Armstrong Date: Mon, 10 Aug 2009 21:57:34 +0000 (-0700) Subject: * support +=-foo so ari can be happy X-Git-Tag: release/2.6.0~454^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=35df7f9d6f591d80a99eac96fcf0f5c0ffb6f488;p=debbugs.git * support +=-foo so ari can be happy --- diff --git a/scripts/service b/scripts/service index dce8703c..a0bff66f 100755 --- a/scripts/service +++ b/scripts/service @@ -787,7 +787,7 @@ END $ref = $clonebugs{$ref} if exists $clonebugs{$ref}; $bug_affected{$ref}=1; my $tags = $2; - my @tags = split /[\s,]+/, $tags; + my @tags = map {m/^([+=-])(.+)/ ? ($1,$2):($_)} split /[\s,]+/, $tags; # this is an array of hashrefs which contain two elements, the # first of which is the array of tags, the second is the # option to pass to set_tag (we use a hashref here to make it