diff mercurial/cmdutil.py @ 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 93bcc73df8d5
children a93d53f79e6e
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: