largefiles: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 08 Mar 2017 16:52:06 -0800
changeset 31341 a5ae1d79e271
parent 31340 1d7e8eb8788b
child 31342 f897a088377c
largefiles: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
hgext/largefiles/lfutil.py
--- 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