Show More
@@ -1,21 +1,14 b'' | |||||
1 | # progress.py show progress bars for some actions |
|
1 | # progress.py show progress bars for some actions | |
2 | # |
|
2 | # | |
3 | # Copyright (C) 2010 Augie Fackler <durin42@gmail.com> |
|
3 | # Copyright (C) 2010 Augie Fackler <durin42@gmail.com> | |
4 | # |
|
4 | # | |
5 | # This software may be used and distributed according to the terms of the |
|
5 | # This software may be used and distributed according to the terms of the | |
6 | # GNU General Public License version 2 or any later version. |
|
6 | # GNU General Public License version 2 or any later version. | |
7 |
|
7 | |||
8 | """show progress bars for some actions |
|
8 | """show progress bars for some actions | |
9 |
|
9 | |||
10 | This extension uses the progress information logged by hg commands |
|
10 | This extension uses the progress information logged by hg commands | |
11 | to draw progress bars that are as informative as possible. Some progress |
|
11 | to draw progress bars that are as informative as possible. Some progress | |
12 | bars only offer indeterminate information, while others have a definite |
|
12 | bars only offer indeterminate information, while others have a definite | |
13 | end point. |
|
13 | end point. | |
14 | """ |
|
14 | """ | |
15 |
|
||||
16 | def uisetup(ui): |
|
|||
17 | if ui.config('progress', 'disable', None) is None: |
|
|||
18 | ui.setconfig('progress', 'disable', 'False', 'hgext-progress') |
|
|||
19 |
|
||||
20 | def reposetup(ui, repo): |
|
|||
21 | uisetup(repo.ui) |
|
General Comments 0
You need to be logged in to leave comments.
Login now