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

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

Details

Summary

This is a localized version of diff.showfunc.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
yuja added a subscriber: yuja.Wed, May 16, 8:18 AM

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

So is this equivalent to setting the diff option?

[diff]
showfunc = True

I'm not sure if we need notify.show-functions 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)
yuja added a comment.Thu, May 17, 8:12 AM

Queued, thanks.

+ $ hg commit -m changefunction
+ $ hg --cwd ../b --config notify.show-functions=True pull ../a

s/show-functions/showfunc/

This revision was automatically updated to reflect the committed changes.