##// END OF EJS Templates
logcmdutil: mark changesetprinter.showpatch() as private
Yuya Nishihara -
r35973:218b77c4 default
parent child Browse files
Show More
@@ -251,7 +251,7 b' class changesetprinter(object):'
251 251 label='log.summary')
252 252 self.ui.write("\n")
253 253
254 self.showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
254 self._showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
255 255
256 256 def _showobsfate(self, ctx):
257 257 obsfate = templatekw.showobsfate(repo=self.repo, ctx=ctx, ui=self.ui)
@@ -265,7 +265,7 b' class changesetprinter(object):'
265 265 '''empty method used by extension as a hook point
266 266 '''
267 267
268 def showpatch(self, ctx, matchfn, hunksfilterfn=None):
268 def _showpatch(self, ctx, matchfn, hunksfilterfn=None):
269 269 if not matchfn:
270 270 matchfn = self.matchfn
271 271 if matchfn:
@@ -469,7 +469,7 b' class changesettemplater(changesetprinte'
469 469 # write changeset metadata, then patch if requested
470 470 key = self._parts[self._tref]
471 471 self.ui.write(templater.stringify(self.t(key, **props)))
472 self.showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
472 self._showpatch(ctx, matchfn, hunksfilterfn=hunksfilterfn)
473 473
474 474 if self._parts['footer']:
475 475 if not self.footer:
General Comments 0
You need to be logged in to leave comments. Login now