misc: replace domain of mercurial-devel ML address by mercurial-scm.org
This patch also adds new check-code.py pattern to detect invalid usage
of "mercurial-devel@selenic.com".
--- a/Makefile Sat Feb 11 00:23:55 2017 +0900
+++ b/Makefile Sat Feb 11 00:23:55 2017 +0900
@@ -141,7 +141,7 @@
# xgettext "parse" and ignore them.
echo $(PYFILES) | xargs \
xgettext --package-name "Mercurial" \
- --msgid-bugs-address "<mercurial-devel@selenic.com>" \
+ --msgid-bugs-address "<mercurial-devel@mercurial-scm.org>" \
--copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
--from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \
-d hg -p i18n -o hg.pot.tmp
--- a/contrib/check-code.py Sat Feb 11 00:23:55 2017 +0900
+++ b/contrib/check-code.py Sat Feb 11 00:23:55 2017 +0900
@@ -454,6 +454,8 @@
'use mercurial-scm.org domain URL'),
(r'mercurial@selenic\.com',
'use mercurial-scm.org domain for mercurial ML address'),
+ (r'mercurial-devel@selenic\.com',
+ 'use mercurial-scm.org domain for mercurial-devel ML address'),
],
# warnings
[],