diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -890,7 +890,7 @@ class localrepository(object): 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):