##// END OF EJS Templates
vfs: replace 'scmutil.opener' usage with 'scmutil.vfs'...
vfs: replace 'scmutil.opener' usage with 'scmutil.vfs' The 'vfs' class is the first class citizen for years. We remove all usages of the older API. This will let us remove the old API eventually.

File last commit:

r31123:df0a0734 default
r31216:21fa3d36 default
Show More
color.py
31 lines | 933 B | text/x-python | PythonLexer
Jordi GutiƩrrez Hermoso
color: update description of the extension...
r22771 # color.py color output for Mercurial commands
Kevin Christen
Add colored output to status and qseries commands
r5787 #
# Copyright (C) 2007 Kevin Christen <kevin.christen@gmail.com>
#
Augie Fackler
color: Use the same GPL boilerplate as most hg files
r15771 # This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
Kevin Christen
Add colored output to status and qseries commands
r5787
Pierre-Yves David
color: update main documentation...
r31123 '''enable Mercurial color mode (DEPRECATED)
Danek Duvall
color: add some documentation for custom terminfo codes
r30176
Pierre-Yves David
color: update main documentation...
r31123 This extensions enable Mercurial color mode. The feature is now directly
available in Mercurial core. You can access it using::
Brodie Rao
color: diff colorization...
r7456
Pierre-Yves David
color: update main documentation...
r31123 [ui]
color = auto
Brodie Rao
color: for the sake of "less -R", default to ansi in auto mode (issue2792)...
r14769
Pierre-Yves David
color: update main documentation...
r31123 See :hg:`help color` for details.
Kevin Christen
Add colored output to status and qseries commands
r5787 '''
Pulkit Goyal
py3: make color use absolute_import
r28968 from __future__ import absolute_import
Kevin Christen
Add colored output to status and qseries commands
r5787
Pierre-Yves David
color: update main documentation...
r31123 from mercurial import color
Kevin Christen
Add colored output to status and qseries commands
r5787
Augie Fackler
extensions: change magic "shipped with hg" string...
r29841 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
Augie Fackler
extensions: document that `testedwith = 'internal'` is special...
r25186 # 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.
Augie Fackler
extensions: change magic "shipped with hg" string...
r29841 testedwith = 'ships-with-hg-core'
Augie Fackler
hgext: mark all first-party extensions as such
r16743
Brodie Rao
color: add global option in extsetup() instead of globally...
r12693 def extsetup(ui):
Pierre-Yves David
color: add the definition of '--color' in core...
r31104 # change default color config
Pierre-Yves David
color: add a 'ui.color' option to control color behavior...
r31110 color._enabledbydefault = True