Mercurial > hg
comparison mercurial/localrepo.py @ 31819:95a67508fd72
localrepo: fix deprecation version for 'repo._link'
The patch lingered for a while and nobody noticed when it was resubmitted.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 04 Apr 2017 16:49:12 +0200 |
parents | 8fa516b264c9 |
children | b36318e6d2ef |
comparison
equal
deleted
inserted
replaced
31818:8fa516b264c9 | 31819:95a67508fd72 |
---|---|
888 self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.2') | 888 self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.2') |
889 return self.wvfs(f, mode) | 889 return self.wvfs(f, mode) |
890 | 890 |
891 def _link(self, f): | 891 def _link(self, f): |
892 self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'", | 892 self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'", |
893 '4.0') | 893 '4.2') |
894 return self.wvfs.islink(f) | 894 return self.wvfs.islink(f) |
895 | 895 |
896 def _loadfilter(self, filter): | 896 def _loadfilter(self, filter): |
897 if filter not in self.filterpats: | 897 if filter not in self.filterpats: |
898 l = [] | 898 l = [] |