mercurial/localrepo.py
changeset 31418 fb1b5cd17664
parent 31416 1527ffe65f9f
child 31428 9b361478b03a
--- a/mercurial/localrepo.py	Wed Mar 15 00:31:59 2017 -0700
+++ b/mercurial/localrepo.py	Wed Mar 15 00:27:17 2017 -0700
@@ -977,6 +977,7 @@
         return self.dirstate.pathto(f, cwd)
 
     def wfile(self, f, mode='r'):
+        self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.1')
         return self.wvfs(f, mode)
 
     def _link(self, f):