# HG changeset patch # User Siddharth Agarwal # Date 1435295872 25200 # Node ID a69bb29b96388e837ec11dd8eee2afced9a5331c # Parent 1c7e62360068e77191e02ace789133aea012cebc 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. diff -r 1c7e62360068 -r a69bb29b9638 mercurial/localrepo.py --- 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),