# HG changeset patch # User Matt Mackall # Date 2014-08-15 15:54:15 # Node ID fb8065de47b064ff49b694f075e26ff937388962 # Parent 4dd9f606d0a6a4e0b2eae36f250b0d375f8cfc0c unshelve: silence internal revert This prepares for upcoming revert changes. diff --git a/hgext/shelve.py b/hgext/shelve.py --- a/hgext/shelve.py +++ b/hgext/shelve.py @@ -413,9 +413,11 @@ def mergefiles(ui, repo, wctx, shelvectx for file in u: if file in files: util.rename(file, file + ".orig") + ui.pushbuffer(True) cmdutil.revert(ui, repo, shelvectx, repo.dirstate.parents(), *pathtofiles(repo, files), **{'no_backup': True}) + ui.popbuffer() finally: ui.quiet = oldquiet