From patchwork Tue Apr 4 14:54:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,2] repo: fix deprecation version for 'repo._link' From: Pierre-Yves David X-Patchwork-Id: 19951 Message-Id: <9b811fe9dc445d35cb25.1491317663@nodosa.octopoid.net> To: mercurial-devel@mercurial-scm.org Date: Tue, 04 Apr 2017 16:54:23 +0200 # HG changeset patch # User Pierre-Yves David # Date 1491317352 -7200 # Tue Apr 04 16:49:12 2017 +0200 # Node ID 9b811fe9dc445d35cb25cad5c3250d3011f233f8 # Parent 1efd0a70a0c9a185d3f6de6030a37608a9a8dbd5 # EXP-Topic vfs.cleanup # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ # hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 9b811fe9dc44 repo: fix deprecation version for 'repo._link' The patch lingered for a while and nobody noticed when it was resubmitted. 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):