cmdutil: pass labeled=True to pushbuffer()
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 22 Nov 2015 14:13:25 -0800
changeset 27107 c57ebef70f6f
parent 27106 6ef17697b03d
child 27108 717b75ae5bb0
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.
mercurial/cmdutil.py
--- 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: