From 35df7f9d6f591d80a99eac96fcf0f5c0ffb6f488 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 10 Aug 2009 14:57:34 -0700 Subject: [PATCH] * support +=-foo so ari can be happy --- scripts/service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/service b/scripts/service index dce8703..a0bff66 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 -- 2.39.2