tests/test-check-code.t
changeset 31823 f6d77af84ef3
parent 31786 0e4f70f63aaa
child 31825 6c7a58d3ca5d
equal deleted inserted replaced
31822:fde4822b0102 31823:f6d77af84ef3
     7 New errors are not allowed. Warnings are strongly discouraged.
     7 New errors are not allowed. Warnings are strongly discouraged.
     8 (The writing "no-che?k-code" is for not skipping this file when checking.)
     8 (The writing "no-che?k-code" is for not skipping this file when checking.)
     9 
     9 
    10   $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
    10   $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
    11   > sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false
    11   > sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false
    12   contrib/perf.py:859:
    12   contrib/perf.py:869:
    13    >             r.revision(r.node(x))
    13    >             r.revision(r.node(x))
    14    don't convert rev to node before passing to revision(nodeorrev)
    14    don't convert rev to node before passing to revision(nodeorrev)
    15   Skipping i18n/polib.py it has no-che?k-code (glob)
    15   Skipping i18n/polib.py it has no-che?k-code (glob)
    16   mercurial/demandimport.py:312:
    16   mercurial/demandimport.py:312:
    17    >     if os.environ.get('HGDEMANDIMPORT') != 'disable':
    17    >     if os.environ.get('HGDEMANDIMPORT') != 'disable':