Mercurial > hg
changeset 9206:c1a1b49221e3
color: use reST syntax for literal block
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 23 Jul 2009 00:22:35 +0200 |
parents | 83132980e9cd |
children | 38d29d3bf190 |
files | hgext/color.py |
diffstat | 1 files changed, 23 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/color.py Thu Jul 23 00:22:05 2009 +0200 +++ b/hgext/color.py Thu Jul 23 00:22:35 2009 +0200 @@ -28,33 +28,33 @@ ANSI escape codes). This module also provides the render_text function, which can be used to add effects to any text. -Default effects may be overridden from the .hgrc file: +Default effects may be overridden from the .hgrc file:: -[color] -status.modified = blue bold underline red_background -status.added = green bold -status.removed = red bold blue_background -status.deleted = cyan bold underline -status.unknown = magenta bold underline -status.ignored = black bold + [color] + status.modified = blue bold underline red_background + status.added = green bold + status.removed = red bold blue_background + status.deleted = cyan bold underline + status.unknown = magenta bold underline + status.ignored = black bold -# 'none' turns off all effects -status.clean = none -status.copied = none + # 'none' turns off all effects + status.clean = none + status.copied = none -qseries.applied = blue bold underline -qseries.unapplied = black bold -qseries.missing = red bold + qseries.applied = blue bold underline + qseries.unapplied = black bold + qseries.missing = red bold -diff.diffline = bold -diff.extended = cyan bold -diff.file_a = red bold -diff.file_b = green bold -diff.hunk = magenta -diff.deleted = red -diff.inserted = green -diff.changed = white -diff.trailingwhitespace = bold red_background + diff.diffline = bold + diff.extended = cyan bold + diff.file_a = red bold + diff.file_b = green bold + diff.hunk = magenta + diff.deleted = red + diff.inserted = green + diff.changed = white + diff.trailingwhitespace = bold red_background ''' import os, sys