##// END OF EJS Templates
global: mass rewrite to use modern exception syntax...
global: mass rewrite to use modern exception syntax Python 2.6 introduced the "except type as instance" syntax, replacing the "except type, instance" syntax that came before. Python 3 dropped support for the latter syntax. Since we no longer support Python 2.4 or 2.5, we have no need to continue supporting the "except type, instance". This patch mass rewrites the exception syntax to be Python 2.6+ and Python 3 compatible. This patch was produced by running `2to3 -f except -w -n .`.

File last commit:

r25522:15c2c580 default
r25660:328739ea default
Show More
progress.py
12 lines | 435 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 """