cmdutil: pass labeled=True to pushbuffer()

This doesn't yet change behavior because labeling is still performed
at popbuffer time.

Surprisingly, this is the only in-tree consumer that passes
labeled=True.
This commit is contained in:
Gregory Szorc 2015-11-22 14:13:25 -08:00
parent b338644768
commit 9a0cab7d0b

View File

@ -1186,7 +1186,7 @@ class changeset_printer(object):
def show(self, ctx, copies=None, matchfn=None, **props):
if self.buffered:
self.ui.pushbuffer()
self.ui.pushbuffer(labeled=True)
self._show(ctx, copies, matchfn, props)
self.hunk[ctx.rev()] = self.ui.popbuffer(labeled=True)
else: