tests/test-check-code.t
changeset 32183 41d79475d440
parent 32173 c939fdce0fde
child 32184 cf424dae5dc7
equal deleted inserted replaced
32182:ac641a41f98d 32183:41d79475d440
    11   > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false
    11   > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false
    12   contrib/perf.py:869:
    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:314:
       
    17    >     if os.environ.get('HGDEMANDIMPORT') != 'disable':
       
    18    use encoding.environ instead (py3)
       
    19   mercurial/encoding.py:54:
    16   mercurial/encoding.py:54:
    20    >     environ = os.environ
    17    >     environ = os.environ
    21    use encoding.environ instead (py3)
    18    use encoding.environ instead (py3)
    22   mercurial/encoding.py:56:
    19   mercurial/encoding.py:56:
    23    >     environ = os.environb
    20    >     environ = os.environb
    28   mercurial/encoding.py:221:
    25   mercurial/encoding.py:221:
    29    >                    for k, v in os.environ.items())
    26    >                    for k, v in os.environ.items())
    30    use encoding.environ instead (py3)
    27    use encoding.environ instead (py3)
    31   Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
    28   Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
    32   Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
    29   Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
    33   mercurial/policy.py:46:
       
    34    >     if 'HGMODULEPOLICY' in os.environ:
       
    35    use encoding.environ instead (py3)
       
    36   mercurial/policy.py:47:
       
    37    >         policy = os.environ['HGMODULEPOLICY'].encode('utf-8')
       
    38    use encoding.environ instead (py3)
       
    39   mercurial/policy.py:49:
       
    40    >     policy = os.environ.get('HGMODULEPOLICY', policy)
       
    41    use encoding.environ instead (py3)
       
    42   Skipping mercurial/statprof.py it has no-che?k-code (glob)
    30   Skipping mercurial/statprof.py it has no-che?k-code (glob)
    43   Skipping tests/badserverext.py it has no-che?k-code (glob)
    31   Skipping tests/badserverext.py it has no-che?k-code (glob)
    44   [1]
    32   [1]
    45 
    33 
    46 @commands in debugcommands.py should be in alphabetical order.
    34 @commands in debugcommands.py should be in alphabetical order.