Mercurial > hg
comparison contrib/check-code.py @ 30888: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 |
comparison
equal
deleted
inserted
replaced
30874:af3b5aa61fc0 | 30888:561a019c0268 |
---|---|
450 | 450 |
451 allfilespats = [ | 451 allfilespats = [ |
452 [ | 452 [ |
453 (r'(http|https)://[a-zA-Z0-9./]*selenic.com/', | 453 (r'(http|https)://[a-zA-Z0-9./]*selenic.com/', |
454 'use mercurial-scm.org domain URL'), | 454 'use mercurial-scm.org domain URL'), |
455 (r'mercurial@selenic\.com', | |
456 'use mercurial-scm.org domain for mercurial ML address'), | |
455 ], | 457 ], |
456 # warnings | 458 # warnings |
457 [], | 459 [], |
458 ] | 460 ] |
459 | 461 |