localrepo: fix deprecation version for 'repo._link'
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 04 Apr 2017 16:49:12 +0200
changeset 31819 95a67508fd72
parent 31818 8fa516b264c9
child 31820 45761ef1bc93
localrepo: fix deprecation version for 'repo._link' The patch lingered for a while and nobody noticed when it was resubmitted.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Tue Apr 04 16:48:58 2017 +0200
+++ b/mercurial/localrepo.py	Tue Apr 04 16:49:12 2017 +0200
@@ -890,7 +890,7 @@
 
     def _link(self, f):
         self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'",
-                           '4.0')
+                           '4.2')
         return self.wvfs.islink(f)
 
     def _loadfilter(self, filter):