Mercurial > hg
view tests/test-check-pyflakes.t @ 14331:3b9a896af09c
paths: Add support for -q/--quiet
Suppresses output (resolved paths or "not found!") when searching a path,
similar to "grep -q".
Sample usage: hg paths -q foo || echo "there is no foo"
Just prints path names (instead of "name = result") when listing all path
definitions, like "hg bookmarks -q".
Sample usage: hg paths -q | while read i; do hg incoming "$i"; done
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 16 May 2011 11:41:48 +0200 |
parents | dea68bddfb87 |
children | bdf44e63a94c |
line wrap: on
line source
$ "$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)