tests/test-check-pyflakes.t
author Sune Foldager <cryo@cyanite.org>
Sat, 07 May 2011 22:40:14 +0200
changeset 14252 19067884c5f5
parent 14176 dea68bddfb87
child 14393 bdf44e63a94c
permissions -rw-r--r--
revlog: calculate base revisions iteratively This is in preparation for generaldelta, where the revlog entry base field is reinterpreted as the deltaparent. For that reason we also rename the base function to chainbase. Without generaldelta, performance is unaffected, but generaldelta will suffer from this in _addrevision, since delta chains will be walked repeatedly. A cache has been added to eliminate this problem completely.

  $ "$TESTDIR/hghave" pyflakes || exit 80
  $ cd $(dirname $TESTDIR)
  $ pyflakes mercurial hgext 2>&1 | $TESTDIR/filterpyflakes.py
  mercurial/hgweb/server.py:*: 'activeCount' imported but unused (glob)
  mercurial/commands.py:*: 'base85' imported but unused (glob)
  mercurial/commands.py:*: 'bdiff' imported but unused (glob)
  mercurial/commands.py:*: 'mpatch' imported but unused (glob)
  mercurial/commands.py:*: 'osutil' imported but unused (glob)
  mercurial/revlog.py:*: 'short' imported but unused (glob)
  hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
  mercurial/util.py:*: 'from posix import *' used; unable to detect undefined names (glob)
  mercurial/windows.py:*: 'from win32 import *' used; unable to detect undefined names (glob)
  mercurial/util.py:*: 'from windows import *' used; unable to detect undefined names (glob)