diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index e6d6241e891..204ad41d498 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -7677 \ No newline at end of file +7678 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm b/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm index 41b7a3cf1bd..9630ce0ede5 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm @@ -191,7 +191,7 @@ sub Send { Bugzilla::Hook::process('bugmail_recipients', { bug => $bug, recipients => \%recipients, - users => \%user_cache }); + users => \%user_cache, diffs => $diffs }); # Find all those user-watching anyone on the current list, who is not # on it already themselves. diff --git a/mozilla/webtools/bugzilla/Bugzilla/Hook.pm b/mozilla/webtools/bugzilla/Bugzilla/Hook.pm index abedfde4a8e..de46f9a25cc 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Hook.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Hook.pm @@ -502,8 +502,17 @@ Every id in the incoming C hash will have an object in here. (But if you add additional recipients to the C hash, you are B required to add them to this hash.) -=back +=item C +This is a list of hashes, each hash representing a change to the bug. Each +hash has the following members: C, C, C, C +and C (a L). If appropriate, there will also be +C or C; if either is present, there will be +C. See C<_get_diffs> in F to see exactly how +it is populated. Warning: the format and existence of the "diffs" parameter +is subject to change in future releases of Bugzilla. + +=back =head2 bugmail_relationships