Page MenuHomePhabricator

notify: add option to include function names in the diff output

Authored by joerg.sonnenberger on May 12 2018, 5:44 PM.



This is a localized version of diff.showfunc.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuja added a subscriber: yuja.May 16 2018, 8:18 AM

+ Set to True to get the equivalent of "hg diff --show-functions". Default:
+ False

So is this equivalent to setting the diff option?

showfunc = True

I'm not sure if we need in addition to diff.*
options, but if we do need it, it's probably better to copy the option
name from [diff].

joerg.sonnenberger edited the summary of this revision. (Show Details)May 16 2018, 9:19 AM
joerg.sonnenberger updated this revision to Diff 8715.
yuja added a comment.May 17 2018, 8:12 AM

Queued, thanks.

+ $ hg commit -m changefunction
+ $ hg --cwd ../b --config pull ../a


This revision was automatically updated to reflect the committed changes.