changeset 27107:c57ebef70f6f

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.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 22 Nov 2015 14:13:25 -0800
parents 6ef17697b03d
children 717b75ae5bb0
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Sun Nov 22 14:10:48 2015 -0800
+++ b/mercurial/cmdutil.py	Sun Nov 22 14:13:25 2015 -0800
@@ -1186,7 +1186,7 @@
 
     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: