changeset 31337:ab45421285d0

eol: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 08 Mar 2017 16:51:36 -0800
parents e59960ea8dcc
children 6ce67d3941fc
files hgext/eol.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/eol.py	Wed Mar 08 16:51:25 2017 -0800
+++ b/hgext/eol.py	Wed Mar 08 16:51:36 2017 -0800
@@ -314,7 +314,7 @@
 
             oldeol = None
             try:
-                cachemtime = os.path.getmtime(self.join("eol.cache"))
+                cachemtime = os.path.getmtime(self.vfs.join("eol.cache"))
             except OSError:
                 cachemtime = 0
             else: