# HG changeset patch # User Boris Feld # Date 2017-07-15 12:17:35 # Node ID 6a3e83781c6ed30ffd1e7ab84d6b95b8ac084ea1 # Parent 792d121f22bab286f7e16302a28d3597be0256ed color: drop the now useless color extension all the extension features are provided by core since 4.2. diff --git a/hgext/color.py b/hgext/color.py deleted file mode 100644 --- a/hgext/color.py +++ /dev/null @@ -1,25 +0,0 @@ -# color.py color output for Mercurial commands -# -# Copyright (C) 2007 Kevin Christen -# -# This software may be used and distributed according to the terms of the -# GNU General Public License version 2 or any later version. - -'''enable Mercurial color mode (DEPRECATED) - -This extension enables Mercurial color mode. The feature is now directly -available in Mercurial core. You can access it using:: - - [ui] - color = auto - -See :hg:`help color` for details. -''' - -from __future__ import absolute_import - -# Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' 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 = 'ships-with-hg-core' diff --git a/mercurial/extensions.py b/mercurial/extensions.py --- a/mercurial/extensions.py +++ b/mercurial/extensions.py @@ -32,6 +32,7 @@ from . import ( _builtin = { 'hbisect', 'bookmarks', + 'color', 'parentrevspec', 'progress', 'interhg',