Show More
@@ -1,31 +1,31 b'' | |||
|
1 | 1 | # color.py color output for Mercurial commands |
|
2 | 2 | # |
|
3 | 3 | # Copyright (C) 2007 Kevin Christen <kevin.christen@gmail.com> |
|
4 | 4 | # |
|
5 | 5 | # This software may be used and distributed according to the terms of the |
|
6 | 6 | # GNU General Public License version 2 or any later version. |
|
7 | 7 | |
|
8 | 8 | '''enable Mercurial color mode (DEPRECATED) |
|
9 | 9 | |
|
10 |
This extension |
|
|
10 | This extension enables Mercurial color mode. The feature is now directly | |
|
11 | 11 | available in Mercurial core. You can access it using:: |
|
12 | 12 | |
|
13 | 13 | [ui] |
|
14 | 14 | color = auto |
|
15 | 15 | |
|
16 | 16 | See :hg:`help color` for details. |
|
17 | 17 | ''' |
|
18 | 18 | |
|
19 | 19 | from __future__ import absolute_import |
|
20 | 20 | |
|
21 | 21 | from mercurial import color |
|
22 | 22 | |
|
23 | 23 | # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for |
|
24 | 24 | # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
|
25 | 25 | # be specifying the version(s) of Mercurial they are tested with, or |
|
26 | 26 | # leave the attribute unspecified. |
|
27 | 27 | testedwith = 'ships-with-hg-core' |
|
28 | 28 | |
|
29 | 29 | def extsetup(ui): |
|
30 | 30 | # change default color config |
|
31 | 31 | color._enabledbydefault = True |
General Comments 0
You need to be logged in to leave comments.
Login now