tests/test-check-code-hg.t
changeset 16688 cfb6682961b8
parent 16683 525fdb738975
child 16689 f366d4c2ff34
equal deleted inserted replaced
16687:e34106fa0dc3 16688:cfb6682961b8
    15    >     except:
    15    >     except:
    16    warning: naked except clause
    16    warning: naked except clause
    17   contrib/setup3k.py:0:
    17   contrib/setup3k.py:0:
    18    >         except:
    18    >         except:
    19    warning: naked except clause
    19    warning: naked except clause
    20   contrib/setup3k.py:0:
       
    21    >     except:
       
    22    warning: naked except clause
       
    23   contrib/setup3k.py:0:
       
    24    > except:
       
    25    warning: naked except clause
       
    26    warning: naked except clause
       
    27    warning: naked except clause
       
    28   contrib/shrink-revlog.py:0:
    20   contrib/shrink-revlog.py:0:
    29    >         except:
    21    >         except:
    30    warning: naked except clause
    22    warning: naked except clause
    31   hgext/convert/bzr.py:0:
    23   hgext/convert/bzr.py:0:
    32    >         except:
    24    >         except:
    33    warning: naked except clause
    25    warning: naked except clause
    34   hgext/convert/common.py:0:
       
    35    >             except:
       
    36    warning: naked except clause
       
    37   hgext/convert/common.py:0:
       
    38    >         except:
       
    39    warning: naked except clause
       
    40    warning: naked except clause
       
    41   hgext/convert/convcmd.py:0:
    26   hgext/convert/convcmd.py:0:
    42    >         except:
    27    >         except:
    43    warning: naked except clause
    28    warning: naked except clause
    44   hgext/convert/cvsps.py:0:
    29   hgext/convert/cvsps.py:0:
    45    >                     ui.write('Ancestors: %s\n' % (','.join(r)))
    30    >                     ui.write('Ancestors: %s\n' % (','.join(r)))
    49    warning: unwrapped ui message
    34    warning: unwrapped ui message
    50   hgext/convert/cvsps.py:0:
    35   hgext/convert/cvsps.py:0:
    51    >                     ui.write('Parents: %s\n' %
    36    >                     ui.write('Parents: %s\n' %
    52    warning: unwrapped ui message
    37    warning: unwrapped ui message
    53   hgext/convert/cvsps.py:0:
    38   hgext/convert/cvsps.py:0:
    54    >                 except:
       
    55    warning: naked except clause
       
    56   hgext/convert/cvsps.py:0:
       
    57    >                 ui.write('Branchpoints: %s \n' % ', '.join(branchpoints))
    39    >                 ui.write('Branchpoints: %s \n' % ', '.join(branchpoints))
    58    warning: unwrapped ui message
    40    warning: unwrapped ui message
    59   hgext/convert/cvsps.py:0:
    41   hgext/convert/cvsps.py:0:
    60    >             ui.write('Author: %s\n' % cs.author)
    42    >             ui.write('Author: %s\n' % cs.author)
    61    warning: unwrapped ui message
    43    warning: unwrapped ui message
    86    warning: naked except clause
    68    warning: naked except clause
    87   hgext/convert/hg.py:0:
    69   hgext/convert/hg.py:0:
    88    >         except:
    70    >         except:
    89    warning: naked except clause
    71    warning: naked except clause
    90   hgext/convert/monotone.py:0:
    72   hgext/convert/monotone.py:0:
    91    >             except:
       
    92    warning: naked except clause
       
    93   hgext/convert/monotone.py:0:
       
    94    >         except:
    73    >         except:
    95    warning: naked except clause
    74    warning: naked except clause
    96   hgext/convert/subversion.py:0:
    75   hgext/convert/subversion.py:0:
    97    >             except:
    76    >     except:
    98    warning: naked except clause
       
    99   hgext/convert/subversion.py:0:
       
   100    >     except:
       
   101    warning: naked except clause
       
   102   hgext/gpg.py:0:
       
   103    >                 except:
       
   104    warning: naked except clause
       
   105   hgext/hgcia.py:0:
       
   106    > except:
       
   107    warning: naked except clause
    77    warning: naked except clause
   108   hgext/hgk.py:0:
    78   hgext/hgk.py:0:
   109    >         ui.write("parent %s\n" % p)
    79    >         ui.write("parent %s\n" % p)
   110    warning: unwrapped ui message
    80    warning: unwrapped ui message
   111   hgext/hgk.py:0:
    81   hgext/hgk.py:0:
   124    >     ui.write("revision %d\n" % ctx.rev())
    94    >     ui.write("revision %d\n" % ctx.rev())
   125    warning: unwrapped ui message
    95    warning: unwrapped ui message
   126   hgext/hgk.py:0:
    96   hgext/hgk.py:0:
   127    >     ui.write("tree %s\n" % short(ctx.changeset()[0]))
    97    >     ui.write("tree %s\n" % short(ctx.changeset()[0]))
   128    warning: unwrapped ui message
    98    warning: unwrapped ui message
   129   hgext/inotify/server.py:0:
       
   130    >                     except:
       
   131    warning: naked except clause
       
   132   hgext/inotify/server.py:0:
       
   133    >             except:
       
   134    warning: naked except clause
       
   135   hgext/keyword.py:0:
    99   hgext/keyword.py:0:
   136    >     ui.note("hg ci -m '%s'\n" % msg)
   100    >     ui.note("hg ci -m '%s'\n" % msg)
   137    warning: unwrapped ui message
   101    warning: unwrapped ui message
   138   hgext/mq.py:0:
   102   hgext/mq.py:0:
   139    >                 except:
   103    >                 except:
   140    warning: naked except clause
   104    warning: naked except clause
   141    warning: naked except clause
       
   142   hgext/mq.py:0:
   105   hgext/mq.py:0:
   143    >             except:
   106    >             except:
   144    warning: naked except clause
   107    warning: naked except clause
   145    warning: naked except clause
   108    warning: naked except clause
   146    warning: naked except clause
   109    warning: naked except clause
   149    >         except:
   112    >         except:
   150    warning: naked except clause
   113    warning: naked except clause
   151   hgext/mq.py:0:
   114   hgext/mq.py:0:
   152    >         ui.write("mq:     %s\n" % ', '.join(m))
   115    >         ui.write("mq:     %s\n" % ', '.join(m))
   153    warning: unwrapped ui message
   116    warning: unwrapped ui message
   154   hgext/patchbomb.py:0:
       
   155    >             except:
       
   156    warning: naked except clause
       
   157   hgext/patchbomb.py:0:
   117   hgext/patchbomb.py:0:
   158    >             ui.write('Subject: %s\n' % subj)
   118    >             ui.write('Subject: %s\n' % subj)
   159    warning: unwrapped ui message
   119    warning: unwrapped ui message
   160   hgext/patchbomb.py:0:
   120   hgext/patchbomb.py:0:
   161    >         ui.write('From: %s\n' % sender)
   121    >         ui.write('From: %s\n' % sender)
   162    warning: unwrapped ui message
   122    warning: unwrapped ui message
   163   hgext/zeroconf/__init__.py:0:
       
   164    >     except:
       
   165    warning: naked except clause
       
   166    warning: naked except clause
       
   167   mercurial/commands.py:0:
   123   mercurial/commands.py:0:
   168    >                 ui.note('branch %s\n' % data)
   124    >                 ui.note('branch %s\n' % data)
   169    warning: unwrapped ui message
   125    warning: unwrapped ui message
   170   mercurial/commands.py:0:
   126   mercurial/commands.py:0:
   171    >                 ui.note('node %s\n' % str(data))
   127    >                 ui.note('node %s\n' % str(data))
   268    >     except:
   224    >     except:
   269    warning: naked except clause
   225    warning: naked except clause
   270   mercurial/keepalive.py:0:
   226   mercurial/keepalive.py:0:
   271    >         except:
   227    >         except:
   272    warning: naked except clause
   228    warning: naked except clause
   273   mercurial/keepalive.py:0:
       
   274    >     except:
       
   275    warning: naked except clause
       
   276   mercurial/localrepo.py:0:
   229   mercurial/localrepo.py:0:
   277    >             except:
   230    >             except:
   278    warning: naked except clause
   231    warning: naked except clause
   279   mercurial/patch.py:0:
   232   mercurial/patch.py:0:
   280    >     except:
   233    >     except:
   283    >         except:
   236    >         except:
   284    warning: naked except clause
   237    warning: naked except clause
   285   mercurial/repair.py:0:
   238   mercurial/repair.py:0:
   286    >     except:
   239    >     except:
   287    warning: naked except clause
   240    warning: naked except clause
   288   mercurial/sshrepo.py:0:
       
   289    >         except:
       
   290    warning: naked except clause
       
   291   mercurial/transaction.py:0:
   241   mercurial/transaction.py:0:
   292    >             except:
       
   293    warning: naked except clause
       
   294   mercurial/util.py:0:
       
   295    >             except:
   242    >             except:
   296    warning: naked except clause
   243    warning: naked except clause
   297   mercurial/util.py:0:
   244   mercurial/util.py:0:
   298    >     except:
   245    >     except:
   299    warning: naked except clause
   246    warning: naked except clause
   304    >                 except:
   251    >                 except:
   305    warning: naked except clause
   252    warning: naked except clause
   306   setup.py:0:
   253   setup.py:0:
   307    >         except:
   254    >         except:
   308    warning: naked except clause
   255    warning: naked except clause
   309   setup.py:0:
       
   310    >     except:
       
   311    warning: naked except clause
       
   312    warning: naked except clause
       
   313   setup.py:0:
       
   314    > except:
       
   315    warning: naked except clause
       
   316    warning: naked except clause
       
   317    warning: naked except clause
       
   318   tests/autodiff.py:0:
   256   tests/autodiff.py:0:
   319    >         ui.write('data lost for: %s\n' % fn)
   257    >         ui.write('data lost for: %s\n' % fn)
   320    warning: unwrapped ui message
   258    warning: unwrapped ui message
   321   tests/run-tests.py:0:
       
   322    >     except:
       
   323    warning: naked except clause
       
   324   tests/test-convert-mtn.t:0:
   259   tests/test-convert-mtn.t:0:
   325    >   > function get_passphrase(keypair_id)
   260    >   > function get_passphrase(keypair_id)
   326    don't use 'function', use old style
   261    don't use 'function', use old style
   327   tests/test-filecache.py:0:
       
   328    >     except:
       
   329    warning: naked except clause
       
   330   tests/test-import-git.t:0:
   262   tests/test-import-git.t:0:
   331    >   > Mc\${NkU|\`?^000jF3jhEB
   263    >   > Mc\${NkU|\`?^000jF3jhEB
   332    ^ must be quoted
   264    ^ must be quoted
   333   tests/test-import.t:0:
   265   tests/test-import.t:0:
   334    >   > diff -Naur proj-orig/foo proj-new/foo
   266    >   > diff -Naur proj-orig/foo proj-new/foo