changeset 31337:ec7831675867

win32text: 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:52:57 -0800
parents 0199686a1a1c
children a9a28ca17615
files hgext/win32text.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)