Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 27109:a93d53f79e6e
ui: remove labeled argument from popbuffer
It was moved to pushbuffer and currently does nothing.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 24 Nov 2015 11:23:10 -0800 |
parents | c57ebef70f6f |
children | 39163708825c |
comparison
equal
deleted
inserted
replaced
27108:717b75ae5bb0 | 27109:a93d53f79e6e |
---|---|
1186 | 1186 |
1187 def show(self, ctx, copies=None, matchfn=None, **props): | 1187 def show(self, ctx, copies=None, matchfn=None, **props): |
1188 if self.buffered: | 1188 if self.buffered: |
1189 self.ui.pushbuffer(labeled=True) | 1189 self.ui.pushbuffer(labeled=True) |
1190 self._show(ctx, copies, matchfn, props) | 1190 self._show(ctx, copies, matchfn, props) |
1191 self.hunk[ctx.rev()] = self.ui.popbuffer(labeled=True) | 1191 self.hunk[ctx.rev()] = self.ui.popbuffer() |
1192 else: | 1192 else: |
1193 self._show(ctx, copies, matchfn, props) | 1193 self._show(ctx, copies, matchfn, props) |
1194 | 1194 |
1195 def _show(self, ctx, copies, matchfn, props): | 1195 def _show(self, ctx, copies, matchfn, props): |
1196 '''show a single changeset or file revision''' | 1196 '''show a single changeset or file revision''' |