hgext/shelve.py
changeset 40853 d7e44da4dc70
parent 40628 29e4a77b5305
child 40854 236af7cfa4c3
--- a/hgext/shelve.py	Wed Dec 05 14:46:09 2018 -0800
+++ b/hgext/shelve.py	Wed Dec 05 14:08:01 2018 -0800
@@ -446,11 +446,8 @@
 
 def _finishshelve(repo):
     if phases.supportinternal(repo):
-        backupname = 'dirstate.shelve'
         tr = repo.currenttransaction()
-        repo.dirstate.savebackup(tr, backupname)
         tr.close()
-        repo.dirstate.restorebackup(None, backupname)
     else:
         _aborttransaction(repo)