Mercurial > public > mercurial-scm > hg
diff contrib/check-code.py @ 17424:e7cfe3587ea4
fix trivial spelling errors
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 15 Aug 2012 22:38:42 +0200 |
parents | 2da47de36b6f |
children | 72803c8edaa4 |
line wrap: on
line diff
--- a/contrib/check-code.py Tue Aug 28 17:59:08 2012 -0500 +++ b/contrib/check-code.py Wed Aug 15 22:38:42 2012 +0200 @@ -321,7 +321,7 @@ :f: filepath :logfunc: function used to report error logfunc(filename, linenumber, linecontent, errormessage) - :maxerr: number of error to display before arborting. + :maxerr: number of error to display before aborting. Set to false (default) to report all errors return True if no error is found, False otherwise. @@ -365,7 +365,7 @@ p, msg = pat ignore = None - # fix-up regexes for multiline searches + # fix-up regexes for multi-line searches po = p # \s doesn't match \n p = re.sub(r'(?<!\\)\\s', r'[ \\t]', p)