--- a/mercurial/logcmdutil.py Sun Jan 21 14:28:03 2018 +0900
+++ b/mercurial/logcmdutil.py Sun Jan 21 14:00:56 2018 +0900
@@ -251,7 +251,7 @@
label='log.summary')
self.ui.write("\n")
- self.showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
+ self._showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
def _showobsfate(self, ctx):
obsfate = templatekw.showobsfate(repo=self.repo, ctx=ctx, ui=self.ui)
@@ -265,7 +265,7 @@
'''empty method used by extension as a hook point
'''
- def showpatch(self, ctx, matchfn, hunksfilterfn=None):
+ def _showpatch(self, ctx, matchfn, hunksfilterfn=None):
if not matchfn:
matchfn = self.matchfn
if matchfn:
@@ -469,7 +469,7 @@
# write changeset metadata, then patch if requested
key = self._parts[self._tref]
self.ui.write(templater.stringify(self.t(key, **props)))
- self.showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
+ self._showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
if self._parts['footer']:
if not self.footer: