# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 2019-04-04 14:41:55 # Node ID fc0095256513b8ab189500396600c12b66984c7c # Parent db72f9f6580e01560f2b717e211c2cfa9c50adc1 chistedit: properly show verbose diffs I'm not sure if that ever worked and it's an internal API breakage, but `"verbose": True` is not correctly parsed, as most of these options are parsed by diffopts, whereas verbose is a global option. Setting the UI to verbose instead does work and does show a verbose patch, with full commit message. It also shows all files, which unfortunately are a bit hard to read on a single line in the default verbose template. Thus, we also change the default template to use the status template, which shows one file per line as well as its modification state. diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -1229,8 +1229,9 @@ def addln(win, y, x, line, color=None): def patchcontents(state): repo = state['repo'] rule = state['rules'][state['pos']] + repo.ui.verbose = True displayer = logcmdutil.changesetdisplayer(repo.ui, repo, { - 'patch': True, 'verbose': True + "patch": True, "template": "status" }, buffered=True) displayer.show(rule.ctx) displayer.close()