Mercurial > hg-stable
changeset 24627:f33236c9b025
largefiles: drop os.path reference in lfutil.storepath()
localrepo.join() can concatenate multiple parts on its own.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 04 Apr 2015 15:43:00 -0400 |
parents | e767f5aba810 |
children | a0b47885a1c5 |
files | hgext/largefiles/lfutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/largefiles/lfutil.py Sat Apr 04 11:24:48 2015 -0700 +++ b/hgext/largefiles/lfutil.py Sat Apr 04 15:43:00 2015 -0400 @@ -168,7 +168,7 @@ 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