changeset 22184:fb8065de47b0

unshelve: silence internal revert This prepares for upcoming revert changes.
author Matt Mackall <mpm@selenic.com>
date Fri, 15 Aug 2014 10:54:15 -0500
parents 4dd9f606d0a6
children afead12e724b
files hgext/shelve.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/shelve.py	Fri Aug 15 10:47:03 2014 -0500
+++ b/hgext/shelve.py	Fri Aug 15 10:54:15 2014 -0500
@@ -413,9 +413,11 @@
         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