tests/test-check-code-hg.t
author Martin Geisler <martin@geisler.net>
Thu, 19 Jul 2012 00:54:33 +0200
changeset 17223 c315842cb25f
parent 16746 9acb5cd19162
child 17557 6d97dd630d79
permissions -rw-r--r--
merge with stable
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15557
7bb5ed61b74c tests: convert test-check-code-hg.py to .t
Mads Kiilerich <mads@kiilerich.com>
parents: 11771
diff changeset
     1
  $ check_code="$TESTDIR"/../contrib/check-code.py
7bb5ed61b74c tests: convert test-check-code-hg.py to .t
Mads Kiilerich <mads@kiilerich.com>
parents: 11771
diff changeset
     2
  $ cd "$TESTDIR"/..
16485
f48b075ff088 tests: solaris sh can not negate exit status with '!'
Mads Kiilerich <mads@kiilerich.com>
parents: 16306
diff changeset
     3
  $ if hg identify -q > /dev/null; then :
f48b075ff088 tests: solaris sh can not negate exit status with '!'
Mads Kiilerich <mads@kiilerich.com>
parents: 16306
diff changeset
     4
  > else
16179
be6ac2ecc7f8 test-check-code-hg: skip test if not in a working dir (issue3248).
Greg Ward <greg@gerg.ca>
parents: 16156
diff changeset
     5
  >     echo "skipped: not a Mercurial working dir" >&2
be6ac2ecc7f8 test-check-code-hg: skip test if not in a working dir (issue3248).
Greg Ward <greg@gerg.ca>
parents: 16156
diff changeset
     6
  >     exit 80
be6ac2ecc7f8 test-check-code-hg: skip test if not in a working dir (issue3248).
Greg Ward <greg@gerg.ca>
parents: 16156
diff changeset
     7
  > fi
16069
f680ed10e2c4 tests: fix command line overflow on ksh
Jim Hague <jim.hague@acm.org>
parents: 15932
diff changeset
     8
  $ hg manifest | xargs "$check_code" || echo 'FAILURE IS NOT AN OPTION!!!'
15558
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
     9
16156
e7746fefd1ef test-check-code-hg: fix xargs exit status on OSX
Patrick Mezard <patrick@mezard.eu>
parents: 16069
diff changeset
    10
  $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 || true
15558
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    11
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    12
   >                     ui.write('Ancestors: %s\n' % (','.join(r)))
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    13
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    14
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    15
   >                     ui.write('Parent: %d\n' % cs.parents[0].id)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    16
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    17
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    18
   >                     ui.write('Parents: %s\n' %
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    19
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    20
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    21
   >                 ui.write('Branchpoints: %s \n' % ', '.join(branchpoints))
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    22
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    23
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    24
   >             ui.write('Author: %s\n' % cs.author)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    25
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    26
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    27
   >             ui.write('Branch: %s\n' % (cs.branch or 'HEAD'))
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    28
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    29
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    30
   >             ui.write('Date: %s\n' % util.datestr(cs.date,
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    31
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    32
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    33
   >             ui.write('Log:\n')
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    34
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    35
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    36
   >             ui.write('Members: \n')
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    37
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    38
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    39
   >             ui.write('PatchSet %d \n' % cs.id)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    40
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    41
  hgext/convert/cvsps.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    42
   >             ui.write('Tag%s: %s \n' % (['', 's'][len(cs.tags) > 1],
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    43
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    44
  hgext/hgk.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    45
   >         ui.write("parent %s\n" % p)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    46
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    47
  hgext/hgk.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    48
   >         ui.write('k=%s\nv=%s\n' % (name, value))
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    49
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    50
  hgext/hgk.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    51
   >     ui.write("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1]))
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    52
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    53
  hgext/hgk.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    54
   >     ui.write("branch %s\n\n" % ctx.branch())
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    55
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    56
  hgext/hgk.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    57
   >     ui.write("committer %s %s %s\n" % (committer, int(date[0]), date[1]))
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    58
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    59
  hgext/hgk.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    60
   >     ui.write("revision %d\n" % ctx.rev())
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    61
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    62
  hgext/hgk.py:0:
16683
525fdb738975 cleanup: eradicate long lines
Brodie Rao <brodie@sf.io>
parents: 16674
diff changeset
    63
   >     ui.write("tree %s\n" % short(ctx.changeset()[0]))
15558
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    64
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    65
  hgext/mq.py:0:
15873
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
    66
   >         ui.write("mq:     %s\n" % ', '.join(m))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
    67
   warning: unwrapped ui message
15558
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    68
  hgext/patchbomb.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    69
   >             ui.write('Subject: %s\n' % subj)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    70
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    71
  hgext/patchbomb.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    72
   >         ui.write('From: %s\n' % sender)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    73
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    74
  mercurial/commands.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    75
   >                 ui.note('branch %s\n' % data)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    76
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    77
  mercurial/commands.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    78
   >                 ui.note('node %s\n' % str(data))
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    79
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    80
  mercurial/commands.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    81
   >                 ui.note('tag %s\n' % name)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    82
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    83
  mercurial/commands.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    84
   >                 ui.write("unpruned common: %s\n" % " ".join([short(n)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    85
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    86
  mercurial/commands.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    87
   >             ui.write("format: id, p1, p2, cset, delta base, len(delta)\n")
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    88
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    89
  mercurial/commands.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    90
   >             ui.write("local is subset\n")
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    91
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    92
  mercurial/commands.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    93
   >             ui.write("remote is subset\n")
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    94
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
    95
  mercurial/commands.py:0:
16683
525fdb738975 cleanup: eradicate long lines
Brodie Rao <brodie@sf.io>
parents: 16674
diff changeset
    96
   >             ui.write('deltas against other : ' + fmt % pcfmt(numother,
15873
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
    97
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
    98
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
    99
   >             ui.write('deltas against p1    : ' + fmt % pcfmt(nump1, numdeltas))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   100
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   101
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   102
   >             ui.write('deltas against p2    : ' + fmt % pcfmt(nump2, numdeltas))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   103
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   104
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   105
   >         ui.write("common heads: %s\n" % " ".join([short(n) for n in common]))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   106
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   107
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   108
   >         ui.write("match: %s\n" % m(d[0]))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   109
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   110
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   111
   >         ui.write('deltas against prev  : ' + fmt % pcfmt(numprev, numdeltas))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   112
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   113
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   114
   >         ui.write('path %s\n' % k)
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   115
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   116
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   117
   >         ui.write('uncompressed data size (min/max/avg) : %d / %d / %d\n'
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   118
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   119
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   120
   >     ui.write("digraph G {\n")
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   121
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   122
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   123
   >     ui.write("internal: %s %s\n" % d)
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   124
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   125
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   126
   >     ui.write("standard: %s\n" % util.datestr(d))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   127
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   128
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   129
   >     ui.write('avg chain length  : ' + fmt % avgchainlen)
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   130
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   131
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   132
   >     ui.write('case-sensitive: %s\n' % (util.checkcase('.debugfsinfo')
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   133
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   134
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   135
   >     ui.write('compression ratio : ' + fmt % compratio)
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   136
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   137
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   138
   >     ui.write('delta size (min/max/avg)             : %d / %d / %d\n'
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   139
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   140
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   141
   >     ui.write('exec: %s\n' % (util.checkexec(path) and 'yes' or 'no'))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   142
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   143
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   144
   >     ui.write('flags  : %s\n' % ', '.join(flags))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   145
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   146
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   147
   >     ui.write('format : %d\n' % format)
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   148
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   149
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   150
   >     ui.write('full revision size (min/max/avg)     : %d / %d / %d\n'
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   151
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   152
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   153
   >     ui.write('revision size : ' + fmt2 % totalsize)
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   154
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   155
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   156
   >     ui.write('revisions     : ' + fmt2 % numrevs)
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   157
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   158
   warning: unwrapped ui message
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   159
  mercurial/commands.py:0:
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   160
   >     ui.write('symlink: %s\n' % (util.checklink(path) and 'yes' or 'no'))
a153a86a472c tests: keep track of all check-code.py warnings
Mads Kiilerich <mads@kiilerich.com>
parents: 15838
diff changeset
   161
   warning: unwrapped ui message
15558
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   162
  tests/autodiff.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   163
   >         ui.write('data lost for: %s\n' % fn)
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   164
   warning: unwrapped ui message
16672
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   165
  tests/test-convert-mtn.t:0:
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   166
   >   > function get_passphrase(keypair_id)
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   167
   don't use 'function', use old style
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   168
  tests/test-import-git.t:0:
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   169
   >   > Mc\${NkU|\`?^000jF3jhEB
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   170
   ^ must be quoted
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   171
  tests/test-import.t:0:
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   172
   >   > diff -Naur proj-orig/foo proj-new/foo
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   173
   don't use 'diff -N'
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   174
   don't use 'diff -N'
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   175
  tests/test-schemes.t:0:
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   176
   >   > z = file:\$PWD/
d046eb97d21e tests: run most check-code sh checks on continued lines too
Mads Kiilerich <mads@kiilerich.com>
parents: 16598
diff changeset
   177
   don't use $PWD, use `pwd`
15558
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   178
  tests/test-ui-color.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   179
   > testui.warn('warning\n')
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   180
   warning: unwrapped ui message
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   181
  tests/test-ui-color.py:0:
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   182
   > testui.write('buffered\n')
c6b600d2348c tests: run check-code with warnings and maintain a whitelist
Mads Kiilerich <mads@kiilerich.com>
parents: 15557
diff changeset
   183
   warning: unwrapped ui message