rollback: have an empty entry for the vfsmap in rollback
This empty string key is used for the store. This will be needed to properly
rollback backup in a future changesets.
--- a/mercurial/localrepo.py Fri Jan 16 14:54:24 2015 -0800
+++ b/mercurial/localrepo.py Fri Jan 16 19:29:16 2015 -0800
@@ -1007,7 +1007,7 @@
parents = self.dirstate.parents()
self.destroying()
- vfsmap = {'plain': self.vfs}
+ vfsmap = {'plain': self.vfs, '': self.svfs}
transaction.rollback(self.svfs, vfsmap, 'undo', ui.warn)
if self.vfs.exists('undo.bookmarks'):
self.vfs.rename('undo.bookmarks', 'bookmarks')