changeset 33527:6a3e83781c6e

color: drop the now useless color extension all the extension features are provided by core since 4.2.
author Boris Feld <boris.feld@octobus.net>
date Sat, 15 Jul 2017 14:17:35 +0200
parents 792d121f22ba
children c384ac3ea147
files hgext/color.py mercurial/extensions.py
diffstat 2 files changed, 1 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/color.py	Sat Jul 15 14:16:54 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-# color.py color output for Mercurial commands
-#
-# Copyright (C) 2007 Kevin Christen <kevin.christen@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.
-
-'''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'
--- a/mercurial/extensions.py	Sat Jul 15 14:16:54 2017 +0200
+++ b/mercurial/extensions.py	Sat Jul 15 14:17:35 2017 +0200
@@ -32,6 +32,7 @@
 _builtin = {
     'hbisect',
     'bookmarks',
+    'color',
     'parentrevspec',
     'progress',
     'interhg',