Mercurial > hg
changeset 31786:0e4f70f63aaa
check-code: fix "covert" typo
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 03 Apr 2017 11:30:51 -0700 |
parents | d15c9feb4399 |
children | 6bfea18df609 |
files | contrib/check-code.py tests/test-check-code.t tests/test-contrib-perf.t |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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',
--- 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':
--- 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]