Patchwork [2,of,2] repo: fix deprecation version for 'repo._link'

login
register
mail settings
Submitter Pierre-Yves David
Date April 4, 2017, 2:54 p.m.
Message ID <9b811fe9dc445d35cb25.1491317663@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/19951/
State Accepted
Headers show

Comments

Pierre-Yves David - April 4, 2017, 2:54 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# 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.

Patch

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):