##// END OF EJS Templates
shelve: drop unnecessary backup of dirstate for phase-based case...
Martin von Zweigbergk -
r40888:d7e44da4 default
parent child Browse files
Show More
@@ -446,11 +446,8 def _includeunknownfiles(repo, pats, opt
446 446
447 447 def _finishshelve(repo):
448 448 if phases.supportinternal(repo):
449 backupname = 'dirstate.shelve'
450 449 tr = repo.currenttransaction()
451 repo.dirstate.savebackup(tr, backupname)
452 450 tr.close()
453 repo.dirstate.restorebackup(None, backupname)
454 451 else:
455 452 _aborttransaction(repo)
456 453
General Comments 0
You need to be logged in to leave comments. Login now