##// END OF EJS Templates
contrib: check reference to old selenic.com domain...
FUJIWARA Katsunori -
r30246:b4c0f8d5 stable
parent child Browse files
Show More
@@ -444,6 +444,17 b' webtemplatepats = ['
444 ]
444 ]
445 ]
445 ]
446
446
447 allfilesfilters = []
448
449 allfilespats = [
450 [
451 (r'(http|https)://[a-zA-Z0-9./]*selenic.com/',
452 'use mercurial-scm.org domain URL'),
453 ],
454 # warnings
455 [],
456 ]
457
447 checks = [
458 checks = [
448 ('python', r'.*\.(py|cgi)$', r'^#!.*python', pyfilters, pypats),
459 ('python', r'.*\.(py|cgi)$', r'^#!.*python', pyfilters, pypats),
449 ('test script', r'(.*/)?test-[^.~]*$', '', testfilters, testpats),
460 ('test script', r'(.*/)?test-[^.~]*$', '', testfilters, testpats),
@@ -456,6 +467,8 b' checks = ['
456 ('txt', r'.*\.txt$', '', txtfilters, txtpats),
467 ('txt', r'.*\.txt$', '', txtfilters, txtpats),
457 ('web template', r'mercurial/templates/.*\.tmpl', '',
468 ('web template', r'mercurial/templates/.*\.tmpl', '',
458 webtemplatefilters, webtemplatepats),
469 webtemplatefilters, webtemplatepats),
470 ('all except for .po', r'.*(?<!\.po)$', '',
471 allfilesfilters, allfilespats),
459 ]
472 ]
460
473
461 def _preparepats():
474 def _preparepats():
General Comments 0
You need to be logged in to leave comments. Login now