diff -r 9e0aaac0d9eb -r 8f2ff40fe9c9 hgext/shelve.py --- 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