cleanup: drop the deprecated 'localrepo.opener' method
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 02 May 2017 02:01:47 +0200
changeset 32117 a7e210167c28
parent 32116 265782c4a400
child 32118 bda90664a462
cleanup: drop the deprecated 'localrepo.opener' method This was deprecated in favor of 'localrepo.vfs'. We can now drop it for the future 4.3.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Tue May 02 02:01:15 2017 +0200
+++ b/mercurial/localrepo.py	Tue May 02 02:01:47 2017 +0200
@@ -385,11 +385,6 @@
         # generic mapping between names and nodes
         self.names = namespaces.namespaces()
 
-    @property
-    def opener(self):
-        self.ui.deprecwarn("use 'repo.vfs' instead of 'repo.opener'", '4.2')
-        return self.vfs
-
     def close(self):
         self._writecaches()