##// END OF EJS Templates
import-checker: reset context to verify convention in function scope...
import-checker: reset context to verify convention in function scope I got the following error by rewriting hgweb/webcommands.py to use absolute_import. It is false-positive because the import line appears in "help" function: hgweb/webcommands.py:1297: higher-level import should come first: mercurial This patch makes the import checker aware of the function scope and apply rules recursively.

File last commit:

r26073:5ef327e9 default
r26965:1fa66d3a default
Show More
progress.py
17 lines | 705 B | text/x-python | PythonLexer
Augie Fackler
Progress bar extension
r10434 # progress.py show progress bars for some actions
#
# Copyright (C) 2010 Augie Fackler <durin42@gmail.com>
#
Augie Fackler
progress: Use the same GPL boilerplate as most hg files
r15772 # This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
Augie Fackler
Progress bar extension
r10434
Pierre-Yves David
progress: deprecate the progress extension...
r25522 """show progress bars for some actions (DEPRECATED)
Augie Fackler
Progress bar extension
r10434
Pierre-Yves David
progress: deprecate the progress extension...
r25522 This extension has been merged into core, you can remove it from your config.
See hg help config.progress for configuration options.
Augie Fackler
Progress bar extension
r10434 """
Augie Fackler
progress: restore testedwith to the stub...
r26073 # Note for extension authors: ONLY specify testedwith = 'internal' for
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
# be specifying the version(s) of Mercurial they are tested with, or
# leave the attribute unspecified.
testedwith = 'internal'