misc: replace domain of mercurial ML address by mercurial-scm.org
This patch also adds new check-code.py pattern to detect invalid usage
of "mercurial@selenic.com".
Change for test-convert-tla.t is tested, but similar change for almost
same test-convert-baz.t isn't yet tested actually, because I couldn't
find out the way to get "GNU Arch baz client".
AFAIK, buildbot skips test-convert-baz.t, too. Does anybody have
appropriate environment for testing?
--- a/contrib/check-code.py Sat Feb 04 20:29:34 2017 +0800
+++ b/contrib/check-code.py Sat Feb 11 00:23:53 2017 +0900
@@ -452,6 +452,8 @@
[
(r'(http|https)://[a-zA-Z0-9./]*selenic.com/',
'use mercurial-scm.org domain URL'),
+ (r'mercurial@selenic\.com',
+ 'use mercurial-scm.org domain for mercurial ML address'),
],
# warnings
[],
--- a/contrib/win32/mercurial.iss Sat Feb 04 20:29:34 2017 +0800
+++ b/contrib/win32/mercurial.iss Sat Feb 11 00:23:53 2017 +0900
@@ -41,7 +41,7 @@
AppSupportURL=https://mercurial-scm.org/
AppUpdatesURL=https://mercurial-scm.org/
AppID={{4B95A5F1-EF59-4B08-BED8-C891C46121B3}
-AppContact=mercurial@selenic.com
+AppContact=mercurial@mercurial-scm.org
DefaultDirName={pf}\Mercurial
SourceDir=..\..
VersionInfoDescription=Mercurial distributed SCM (version {#VERSION})
--- a/contrib/wix/mercurial.wxs Sat Feb 04 20:29:34 2017 +0800
+++ b/contrib/wix/mercurial.wxs Sat Feb 11 00:23:53 2017 +0900
@@ -43,7 +43,7 @@
</Property>
<!--Property Id='ARPCOMMENTS'>any comments</Property-->
- <Property Id='ARPCONTACT'>mercurial@selenic.com</Property>
+ <Property Id='ARPCONTACT'>mercurial@mercurial-scm.org</Property>
<Property Id='ARPHELPLINK'>https://mercurial-scm.org/wiki/</Property>
<Property Id='ARPURLINFOABOUT'>https://mercurial-scm.org/about/</Property>
<Property Id='ARPURLUPDATEINFO'>https://mercurial-scm.org/downloads/</Property>
--- a/setup.py Sat Feb 04 20:29:34 2017 +0800
+++ b/setup.py Sat Feb 11 00:23:53 2017 +0900
@@ -712,7 +712,7 @@
setup(name='mercurial',
version=setupversion,
author='Matt Mackall and many others',
- author_email='mercurial@selenic.com',
+ author_email='mercurial@mercurial-scm.org',
url='https://mercurial-scm.org/',
download_url='https://mercurial-scm.org/release/',
description=('Fast scalable distributed SCM (revision control, version '
--- a/tests/test-convert-baz.t Sat Feb 04 20:29:34 2017 +0800
+++ b/tests/test-convert-baz.t Sat Feb 11 00:23:53 2017 +0900
@@ -1,6 +1,6 @@
#require baz symlink
- $ baz my-id "mercurial <mercurial@selenic.com>"
+ $ baz my-id "mercurial <mercurial@mercurial-scm.org>"
$ echo "[extensions]" >> $HGRCPATH
$ echo "convert=" >> $HGRCPATH
--- a/tests/test-convert-tla.t Sat Feb 04 20:29:34 2017 +0800
+++ b/tests/test-convert-tla.t Sat Feb 11 00:23:53 2017 +0900
@@ -1,6 +1,6 @@
#require tla symlink
- $ tla my-id "mercurial <mercurial@selenic.com>"
+ $ tla my-id "mercurial <mercurial@mercurial-scm.org>"
$ echo "[extensions]" >> $HGRCPATH
$ echo "convert=" >> $HGRCPATH