[PATCH 4 of 5 V3] progress: deprecate the progress extension

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Jun 11 02:31:36 CDT 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1433750481 25200
#      Mon Jun 08 01:01:21 2015 -0700
# Node ID b22d4a0a933fa1bb8400e3c1c2df1fba5f2f8a7a
# Parent  4401e4acc72379e47aced595797a1aa4db232ba8
progress: deprecate the progress extension

Activating it is a absolute no-op now.

diff --git a/hgext/progress.py b/hgext/progress.py
--- a/hgext/progress.py
+++ b/hgext/progress.py
@@ -3,12 +3,10 @@
 # Copyright (C) 2010 Augie Fackler <durin42 at gmail.com>
 #
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-"""show progress bars for some actions
+"""show progress bars for some actions (DEPRECATED)
 
-This extension uses the progress information logged by hg commands
-to draw progress bars that are as informative as possible. Some progress
-bars only offer indeterminate information, while others have a definite
-end point.
+This extension have been merged into core, you can remove it from your config.
+See hg help config.progress for configuration option.
 """
diff --git a/tests/test-help.t b/tests/test-help.t
--- a/tests/test-help.t
+++ b/tests/test-help.t
@@ -262,11 +262,10 @@ Test extension help:
        largefiles    track large binary files
        mq            manage a stack of patches
        notify        hooks for sending email push notifications
        pager         browse command output with an external pager
        patchbomb     command to send changesets as (a series of) patch emails
-       progress      show progress bars for some actions
        purge         command to delete untracked files from the working
                      directory
        record        commands to interactively select changes for
                      commit/qrefresh
        relink        recreates hardlinks between repository clones


More information about the Mercurial-devel mailing list