X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FControl.pm;h=226cd1f8c57f2b8ebfeaf5a0a0f918da35f99ae5;hb=1f81df46999fc3699ce73aeba95af5095a5a413a;hp=44d0062e9a9bc4ae1ccc21cb2d46d97451f4211b;hpb=428eb4599f1aad8c4c5b71d02b91252a1daba24d;p=debbugs.git diff --git a/Debbugs/Control.pm b/Debbugs/Control.pm index 44d0062..226cd1f 100644 --- a/Debbugs/Control.pm +++ b/Debbugs/Control.pm @@ -75,7 +75,7 @@ is true, the above options must be present, and their values are used. use warnings; use strict; use vars qw($VERSION $DEBUG %EXPORT_TAGS @EXPORT_OK @EXPORT); -use base qw(Exporter); +use Exporter qw(import); BEGIN{ $VERSION = 1.00; @@ -1116,7 +1116,7 @@ sub set_submitter { } else { if (defined $data->{originator} and length($data->{originator})) { - $action= "Changed $config{bug} submitter to '$param{submitter}' from '$data->{originator}'"; + $action= "Changed $config{bug} submitter to '$param{submitter}' from '$data->{originator}'."; $notify_old_submitter = 1; } else { @@ -1231,7 +1231,7 @@ sub set_forwarded { $action= "Unset $config{bug} forwarded-to-address"; } elsif (defined $data->{forwarded} and length($data->{forwarded})) { - $action= "Changed $config{bug} forwarded-to-address to '$param{forwarded}' from '$data->{forwarded}'"; + $action= "Changed $config{bug} forwarded-to-address to '$param{forwarded}' from '$data->{forwarded}'."; } else { $action= "Set $config{bug} forwarded-to-address to '$param{forwarded}'."; @@ -1316,7 +1316,7 @@ sub set_title { } else { if (defined $data->{subject} and length($data->{subject})) { - $action= "Changed $config{bug} title to '$param{title}' from '$data->{subject}'"; + $action= "Changed $config{bug} title to '$param{title}' from '$data->{subject}'."; } else { $action= "Set $config{bug} title to '$param{title}'."; } @@ -2963,19 +2963,19 @@ sub clone_bug { # bugs that this bug is blocking are also blocked by the new clone(s) for my $bug (split ' ', $data->{blocks}) { for my $new_bug (@new_bugs) { - set_blocks(bug => $new_bug, - block => $bug, + set_blocks(bug => $bug, + block => $new_bug, hash_slice(%param, keys %common_options, keys %append_action_options), ); } } - # bugs that this bug is blocked by are also blocking the new clone(s) + # bugs that are blocking this bug are also blocking the new clone(s) for my $bug (split ' ', $data->{blockedby}) { for my $new_bug (@new_bugs) { - set_blocks(bug => $bug, - block => $new_bug, + set_blocks(bug => $new_bug, + block => $bug, hash_slice(%param, keys %common_options, keys %append_action_options),