[Updated] D10883: shelve: don't swallow errors that happen when reverting the working copy
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Mon Jun 21 12:18:15 UTC 2021
Closed by commit rHG6ecd0980d7f9: shelve: don't swallow errors that happen when reverting the working copy (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10883?vs=28609&id=28640
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10883/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10883
AFFECTED FILES
mercurial/shelve.py
CHANGE DETAILS
diff --git a/mercurial/shelve.py b/mercurial/shelve.py
--- a/mercurial/shelve.py
+++ b/mercurial/shelve.py
@@ -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):
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210621/1caf5951/attachment-0002.html>
More information about the Mercurial-patches
mailing list