--- a/mercurial/shelve.py Fri Feb 28 11:32:02 2020 -0800
+++ b/mercurial/shelve.py Fri Feb 28 11:32:27 2020 -0800
@@ -827,10 +827,6 @@
)
if newnode is None:
- # If it ended up being a no-op commit, then the normal
- # merge state clean-up path doesn't happen, so do it
- # here. Fix issue5494
- merge.mergestate.clean(repo)
shelvectx = state.pendingctx
msg = _(
b'note: unshelved changes already existed '
@@ -1031,10 +1027,6 @@
)
if newnode is None:
- # If it ended up being a no-op commit, then the normal
- # merge state clean-up path doesn't happen, so do it
- # here. Fix issue5494
- merge.mergestate.clean(repo)
shelvectx = tmpwctx
msg = _(
b'note: unshelved changes already existed '