doc/docchecker
changeset 28811 1a623585a658
parent 28810 9934362978e1
child 29168 8f2805ce93d9
--- a/doc/docchecker	Thu Mar 03 03:32:44 2016 +0000
+++ b/doc/docchecker	Tue Jan 12 09:30:57 2016 +0000
@@ -16,6 +16,8 @@
     """warning: please avoid nesting ' in :hg:`...`"""),
   (r'\w:hg:`',
     'warning: please have a space before :hg:'),
+  (r"""(?:[^a-z][^'.])hg ([^,;"`]*'(?!hg)){2}""",
+    '''warning: please use " instead of ' for hg ... "..."'''),
 ]
 
 def check(line):