win32text: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 08 Mar 2017 16:52:57 -0800
changeset 31346 ec7831675867
parent 31345 0199686a1a1c
child 31347 a9a28ca17615
win32text: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
hgext/win32text.py
--- a/hgext/win32text.py	Wed Mar 08 16:52:49 2017 -0800
+++ b/hgext/win32text.py	Wed Mar 08 16:52:57 2017 -0800
@@ -74,7 +74,7 @@
                   'and does not need EOL conversion by the win32text plugin.\n'
                   'Before your next commit, please reconsider your '
                   'encode/decode settings in \nMercurial.ini or %s.\n') %
-                (filename, newlinestr[newline], repo.join('hgrc')))
+                (filename, newlinestr[newline], repo.vfs.join('hgrc')))
 
 def dumbdecode(s, cmd, **kwargs):
     checknewline(s, '\r\n', **kwargs)