# HG changeset patch # User Martin von Zweigbergk # Date 1491244251 25200 # Node ID 0e4f70f63aaade13540f0faffdba19fad297276a # Parent d15c9feb43994bfad3ca2e7f5c435418d3e0dfb7 check-code: fix "covert" typo diff -r d15c9feb4399 -r 0e4f70f63aaa contrib/check-code.py --- a/contrib/check-code.py Mon Apr 03 10:02:55 2017 +0200 +++ b/contrib/check-code.py Mon Apr 03 11:30:51 2017 -0700 @@ -338,7 +338,7 @@ (r'^import BaseHTTPServer', "use util.httpserver instead"), (r'\.next\(\)', "don't use .next(), use next(...)"), (r'([a-z]*).revision\(\1\.node\(', - "don't covert rev to node before passing to revision(nodeorrev)"), + "don't convert rev to node before passing to revision(nodeorrev)"), # rules depending on implementation of repquote() (r' x+[xpqo%APM][\'"]\n\s+[\'"]x', diff -r d15c9feb4399 -r 0e4f70f63aaa tests/test-check-code.t --- a/tests/test-check-code.t Mon Apr 03 10:02:55 2017 +0200 +++ b/tests/test-check-code.t Mon Apr 03 11:30:51 2017 -0700 @@ -11,7 +11,7 @@ > sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false contrib/perf.py:859: > r.revision(r.node(x)) - don't covert rev to node before passing to revision(nodeorrev) + don't convert rev to node before passing to revision(nodeorrev) Skipping i18n/polib.py it has no-che?k-code (glob) mercurial/demandimport.py:312: > if os.environ.get('HGDEMANDIMPORT') != 'disable': diff -r d15c9feb4399 -r 0e4f70f63aaa tests/test-contrib-perf.t --- a/tests/test-contrib-perf.t Mon Apr 03 10:02:55 2017 +0200 +++ b/tests/test-contrib-perf.t Mon Apr 03 11:30:51 2017 -0700 @@ -167,5 +167,5 @@ > "$TESTDIR"/check-perf-code.py contrib/perf.py contrib/perf.py:859: > r.revision(r.node(x)) - don't covert rev to node before passing to revision(nodeorrev) + don't convert rev to node before passing to revision(nodeorrev) [1]