##// END OF EJS Templates
localrepo: use file API via vfs while ensuring repository directory...
localrepo: use file API via vfs while ensuring repository directory As a part of migration to vfs, this patch invokes some file API indirectly via vfs, while ensuring repository directory in the constructor of "localrepository" class. New file API are added to "scmutil.abstractopener" class, because they are also used via other derived classes than "scmutil.opener". But "join()" is not yet defined other than "scmutil.opener" class, because it should not be used via other opener classes yet.

File last commit:

r16350:4f795f5f stable
r17161:be016e96 default
Show More
test-check-pyflakes.t
6 lines | 249 B | text/troff | Tads3Lexer
/ tests / test-check-pyflakes.t
timeless
tests: add pyflakes checking for unused imports
r14140 $ "$TESTDIR/hghave" pyflakes || exit 80
Thomas Arendsen Hein
tests: make tests work if directory contains special characters...
r16350 $ cd "`dirname "$TESTDIR"`"
$ pyflakes mercurial hgext 2>&1 | "$TESTDIR/filterpyflakes.py"
timeless
test: add pyflakes checking for unable to detect undefined names
r14176 hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob)
timeless
tests: add pyflakes checking for unused imports
r14140