diff -r e9fbf8fd5f33 -r 6ecd0980d7f9 mercurial/shelve.py --- a/mercurial/shelve.py Fri Jun 18 13:55:45 2021 -0700 +++ b/mercurial/shelve.py Fri Jun 18 14:17:43 2021 -0700 @@ -781,9 +781,7 @@ dirstate.""" with ui.configoverride({(b'ui', b'quiet'): True}): hg.update(repo, wctx.node()) - ui.pushbuffer(True) cmdutil.revert(ui, repo, shelvectx) - ui.popbuffer() def restorebranch(ui, repo, branchtorestore):