diff mercurial/cmdutil.py @ 27411:c84a07530040

record: turn on showfunc Always try to give diff context when doing an interactive record
author timeless <timeless@mozdev.org>
date Thu, 17 Dec 2015 14:38:22 +0000
parents 4eeef1b2d689
children 9d04b4da6773
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Dec 17 13:07:34 2015 -0800
+++ b/mercurial/cmdutil.py	Thu Dec 17 14:38:22 2015 +0000
@@ -116,6 +116,7 @@
         diffopts = patch.difffeatureopts(ui, opts=opts, whitespace=True)
         diffopts.nodates = True
         diffopts.git = True
+        diffopts.showfunc = True
         originaldiff =  patch.diff(repo, changes=status, opts=diffopts)
         originalchunks = patch.parsepatch(originaldiff)