localrepo: kill off sopener (API)
sopener is deprecated since
7034365089bf (Mercurial 2.3). It's annoying for
extension authors to have to deal with both. Let's just kill it off.
--- a/mercurial/localrepo.py Thu Jun 25 22:16:36 2015 -0700
+++ b/mercurial/localrepo.py Thu Jun 25 22:17:52 2015 -0700
@@ -293,7 +293,6 @@
self.requirements, self.sharedpath, scmutil.vfs)
self.spath = self.store.path
self.svfs = self.store.vfs
- self.sopener = self.svfs
self.sjoin = self.store.join
self.vfs.createmode = self.store.createmode
self._applyopenerreqs()
@@ -983,7 +982,7 @@
reporef().hook('pretxnclose', throw=True, pending=pending,
txnname=desc, **tr.hookargs)
- tr = transaction.transaction(rp, self.sopener, vfsmap,
+ tr = transaction.transaction(rp, self.svfs, vfsmap,
"journal",
"undo",
aftertrans(renames),