localrepo: fix deprecation version for 'repo.join'
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 04 Apr 2017 16:48:58 +0200
changeset 31818 8fa516b264c9
parent 31817 07edd8c2f59a
child 31819 95a67508fd72
localrepo: fix deprecation version for 'repo.join' The patch lingered for a while and nobody noticed when it was resubmitted.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Mon Apr 03 19:45:09 2017 -0400
+++ b/mercurial/localrepo.py	Tue Apr 04 16:48:58 2017 +0200
@@ -842,7 +842,7 @@
         return None
 
     def join(self, f, *insidef):
-        self.ui.deprecwarn("use 'repo.vfs.join' instead of 'repo.join'", '4.0')
+        self.ui.deprecwarn("use 'repo.vfs.join' instead of 'repo.join'", '4.2')
         return self.vfs.join(os.path.join(f, *insidef))
 
     def wjoin(self, f, *insidef):