[PATCH 9 of 9] color: drop the now useless color extension
Boris Feld
boris.feld at octobus.net
Sat Jul 15 14:41:12 EDT 2017
# HG changeset patch
# User Boris Feld <boris.feld at octobus.net>
# Date 1500121055 -7200
# Sat Jul 15 14:17:35 2017 +0200
# Node ID bb3703129b5035a162fd8ad8eee364295b9ce9d0
# Parent f170c4ba9c21f40248b83b511e064474080a0060
# EXP-Topic cleanup.color
color: drop the now useless color extension
all the extension features are provided by core since 4.2.
diff -r f170c4ba9c21 -r bb3703129b50 hgext/color.py
--- 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 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.
-
-'''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 -r f170c4ba9c21 -r bb3703129b50 mercurial/extensions.py
--- 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',
More information about the Mercurial-devel
mailing list