##// END OF EJS Templates
hg: establish a cache for localrepository instances...
hg: establish a cache for localrepository instances hgweb contained code for determining whether a cached localrepository instance was up to date. This code was way too low-level to be in hgweb. This functionality has been moved to a new "cachedlocalrepo" class in hg.py. The code has been changed slightly to facilitate use inside a class. hgweb has been refactored to use the new API. As part of this refactor, hgweb.repo no longer exists! We're very close to using a distinct repo instance per thread. The new cache records state when it is created. This intelligence prevents an extra localrepository from being created on the first hgweb request. This is why some redundant output from test-extension.t has gone away.

File last commit:

r22198:77142de4 default
r26219:ae33fff1 default
Show More
test-check-pyflakes.t
12 lines | 361 B | text/troff | Tads3Lexer
/ tests / test-check-pyflakes.t
Matt Mackall
tests: change some #ifs to #requires
r22047 #require test-repo pyflakes
Matt Mackall
tests: add repository check for pyflakes test...
r21208
Thomas Arendsen Hein
tests: make tests work if directory contains special characters...
r16350 $ cd "`dirname "$TESTDIR"`"
Simon Heimberg
tests: run pyflakes on files from manifest which could be python files...
r19377
run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)
Matt Mackall
tests: add repository check for pyflakes test...
r21208
Matt Mackall
tests: use locate to find files for pyflakes check...
r21221 $ hg locate 'set:**.py or grep("^!#.*python")' 2>/dev/null \
Simon Heimberg
tests: run pyflakes on files from manifest which could be python files...
r19377 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
Matt Mackall
filterpyflakes: make memoryview filtering unconditional
r21293 tests/filterpyflakes.py:58: undefined name 'undefinedname'
Matt Mackall
tests: fix pyflakes test whitespace breakage
r22053