[PATCH v4] cmdutil: add within-line color diff capacity
Jordi Gutierrez Hermoso
jordigh at gnu.org
Sat Nov 25 09:26:38 EST 2017
On Sat, Nov 25, 2017 at 10:27:21PM +0900, matthieu.laneuville at octobus.net wrote:
> # HG changeset patch
> # User Matthieu Laneuville <matthieu.laneuville at octobus.net>
> # Date 1508944418 -32400
> # Thu Oct 26 00:13:38 2017 +0900
> # Node ID bab248bd389941e034b002aed0e29b211b6995cf
> # Parent f56a30b844aa91eecd4e31b1fbc291d9d24973b3
> # EXP-Topic inline-diff
> cmdutil: add within-line color diff capacity
[snip]
> + $ hg diff --config experimental.inline-color-diff=False
> + \x1b[0;1mdiff --git a/file1 b/file1\x1b[0m (esc)
Can you run this with --color=debug so the tests are more readable?
I think the important part here is the label, not what the color
extension does with it.
More information about the Mercurial-devel
mailing list