hgext/shelve.py
changeset 26577 8f2ff40fe9c9
parent 26524 61c295d9d402
child 26587 56b2bcea2529
--- a/hgext/shelve.py	Fri Oct 09 03:53:46 2015 +0900
+++ b/hgext/shelve.py	Fri Oct 09 03:53:46 2015 +0900
@@ -209,9 +209,6 @@
         tr = repo.currenttransaction()
         tr.abort()
 
-        # TODO: this should be done via transaction.abort()
-        repo.dirstate.invalidate() # prevent wlock from writing changes out
-
         # restore to backuped dirstate
         repo.vfs.rename(dirstatebackup, 'dirstate')
         dirstatebackup = None