summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-17 07:24:48 +0200
committerByron Jones <glob@mozilla.com>2015-04-17 07:24:48 +0200
commita6f7795a0460db0ad1ef0ffcfb7e3725c0e0fd7f (patch)
tree3dc2286c5152e18379ea3786d5f51978b8d73595 /extensions/BMO
parent09de3de190a692dfbc2533ceee8f31648905b91a (diff)
downloadbugzilla-a6f7795a0460db0ad1ef0ffcfb7e3725c0e0fd7f.tar.gz
bugzilla-a6f7795a0460db0ad1ef0ffcfb7e3725c0e0fd7f.tar.xz
Bug 1155528: stop linking bzr commit messages to bzr.mozilla.org's loggerhead
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm17
1 files changed, 0 insertions, 17 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index f3f5dc6c2..06c07cc83 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -594,23 +594,6 @@ sub bug_format_comment {
}
});
- # link bzr commit messages
- push (@$regexes, {
- match => qr/\b(Committing\s+to:\sbzr\+ssh:\/\/
- (?:[^\@]+\@)?(bzr\.mozilla\.org[^\n]+)\n.*?\bCommitted\s)
- (revision\s(\d+))/sx,
- replace => sub {
- my $args = shift;
- my $preamble = html_quote($args->{matches}->[0]);
- my $url = html_quote($args->{matches}->[1]);
- my $text = html_quote($args->{matches}->[2]);
- my $id = html_quote($args->{matches}->[3]);
- $url =~ s/\s+$//;
- $url =~ s/\/$//;
- return qq{$preamble<a href="https://$url/revision/$id">$text</a>};
- }
- });
-
# link git.mozilla.org commit messages
push (@$regexes, {
match => qr#^(To\s(?:ssh://)?(?:[^\@]+\@)?git\.mozilla\.org[:/](.+?\.git)\n