mercurial/localrepo.py
changeset 31466 b6bbfbaa205a
parent 31429 2471368281d1
child 31476 413b44003462
equal deleted inserted replaced
31465:da83f12d7a88 31466:b6bbfbaa205a
   975 
   975 
   976     def pathto(self, f, cwd=None):
   976     def pathto(self, f, cwd=None):
   977         return self.dirstate.pathto(f, cwd)
   977         return self.dirstate.pathto(f, cwd)
   978 
   978 
   979     def wfile(self, f, mode='r'):
   979     def wfile(self, f, mode='r'):
   980         self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.1')
   980         self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.2')
   981         return self.wvfs(f, mode)
   981         return self.wvfs(f, mode)
   982 
   982 
   983     def _link(self, f):
   983     def _link(self, f):
   984         self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'",
   984         self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'",
   985                            '4.0')
   985                            '4.0')