diff contrib/check-code.py @ 30866:561a019c0268 stable

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?
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sat, 11 Feb 2017 00:23:53 +0900
parents 6a70cf94d1b5
children 22a4f664c1a5
line wrap: on
line diff
--- 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
   [],