changeset 31332:a5ae1d79e271

largefiles: 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:06 -0800
parents 1d7e8eb8788b
children f897a088377c
files hgext/largefiles/lfutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/lfutil.py	Wed Mar 08 16:51:57 2017 -0800
+++ b/hgext/largefiles/lfutil.py	Wed Mar 08 16:52:06 2017 -0800
@@ -202,7 +202,7 @@
     file with the given hash.'''
     if not forcelocal and repo.shared():
         return repo.vfs.reljoin(repo.sharedpath, longname, hash)
-    return repo.join(longname, hash)
+    return repo.vfs.join(longname, hash)
 
 def findstorepath(repo, hash):
     '''Search through the local store path(s) to find the file for the given