Skip to content

Commit a6f7795

Browse files
committed
Bug 1155528: stop linking bzr commit messages to bzr.mozilla.org's loggerhead
1 parent 09de3de commit a6f7795

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

extensions/BMO/Extension.pm

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -594,23 +594,6 @@ sub bug_format_comment {
594594
}
595595
});
596596

597-
# link bzr commit messages
598-
push (@$regexes, {
599-
match => qr/\b(Committing\s+to:\sbzr\+ssh:\/\/
600-
(?:[^\@]+\@)?(bzr\.mozilla\.org[^\n]+)\n.*?\bCommitted\s)
601-
(revision\s(\d+))/sx,
602-
replace => sub {
603-
my $args = shift;
604-
my $preamble = html_quote($args->{matches}->[0]);
605-
my $url = html_quote($args->{matches}->[1]);
606-
my $text = html_quote($args->{matches}->[2]);
607-
my $id = html_quote($args->{matches}->[3]);
608-
$url =~ s/\s+$//;
609-
$url =~ s/\/$//;
610-
return qq{$preamble<a href="https://$url/revision/$id">$text</a>};
611-
}
612-
});
613-
614597
# link git.mozilla.org commit messages
615598
push (@$regexes, {
616599
match => qr#^(To\s(?:ssh://)?(?:[^\@]+\@)?git\.mozilla\.org[:/](.+?\.git)\n

0 commit comments

Comments
 (0)