# HG changeset patch # User Matt Harbison # Date 2015-04-04 19:43:00 # Node ID f33236c9b025e4cc4fc300c9d8ffe6992152dcd2 # Parent e767f5aba8102a90b2d0a6a5b3f8970c4f720bd6 largefiles: drop os.path reference in lfutil.storepath() localrepo.join() can concatenate multiple parts on its own. diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -168,7 +168,7 @@ def instore(repo, hash): return os.path.exists(storepath(repo, hash)) def storepath(repo, hash): - return repo.join(os.path.join(longname, hash)) + return repo.join(longname, hash) def copyfromcache(repo, hash, filename): '''Copy the specified largefile from the repo or system cache to