Read about our upcoming Code of Conduct on this issue

Commit 83f1f4ab authored by Gregory Szorc's avatar Gregory Szorc
Browse files

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.
parent 6ef17697b03d
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment