cleanup: drop the deprecated 'localrepo._link' method
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 02 May 2017 02:05:39 +0200
changeset 32121 5f8450df5562
parent 32120 8ca9b3add033
child 32123 5f53c267e362
cleanup: drop the deprecated 'localrepo._link' method This was deprecated in favor of 'localrepo.wvfs.islink'. We can now drop it for the future 4.3.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Tue May 02 02:04:55 2017 +0200
+++ b/mercurial/localrepo.py	Tue May 02 02:05:39 2017 +0200
@@ -865,11 +865,6 @@
     def pathto(self, f, cwd=None):
         return self.dirstate.pathto(f, cwd)
 
-    def _link(self, f):
-        self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'",
-                           '4.2')
-        return self.wvfs.islink(f)
-
     def _loadfilter(self, filter):
         if filter not in self.filterpats:
             l = []