Patchwork tweakdefaults: enable word-diff by default

login
register
mail settings
Submitter Augie Fackler
Date July 9, 2018, 2:08 p.m.
Message ID <02c04e1b5c85836efbe4.1531145316@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/32724/
State Accepted
Headers show

Comments

Augie Fackler - July 9, 2018, 2:08 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1531145240 14400
#      Mon Jul 09 10:07:20 2018 -0400
# Node ID 02c04e1b5c85836efbe4079dc7ca089007987202
# Parent  44f5acfb9ad292a0426b24671feed17ffae42bf0
tweakdefaults: enable word-diff by default

It's another creature comfort in diff output, we may as well include
it alongside git-diffs and showfunc.
Yuya Nishihara - July 10, 2018, 12:05 p.m.
On Mon, 09 Jul 2018 10:08:36 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@google.com>
> # Date 1531145240 14400
> #      Mon Jul 09 10:07:20 2018 -0400
> # Node ID 02c04e1b5c85836efbe4079dc7ca089007987202
> # Parent  44f5acfb9ad292a0426b24671feed17ffae42bf0
> tweakdefaults: enable word-diff by default

Queued, thanks.

Patch

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -71,6 +71,7 @@  status.terse = u
 [diff]
 git = 1
 showfunc = 1
+word-diff = 1
 """
 
 samplehgrcs = {