Mercurial > public > mercurial-scm > hg-stable
diff hgext/largefiles/lfutil.py @ 31341: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 | 04b4286278ec |
children | 5c1d3f1b8f44 |
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