Mercurial > hg
diff hgext/lfs/blobstore.py @ 37691:d241e6632669
lfs: fix the inferred remote store path when using a --prefix
This wasn't appending the '.git/info/lfs' path in this case.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 13 Apr 2018 14:16:30 -0400 |
parents | 9c7a25ef5b49 |
children | 10e5bb9678f4 |
line wrap: on
line diff
--- a/hgext/lfs/blobstore.py Fri Apr 13 12:39:54 2018 -0400 +++ b/hgext/lfs/blobstore.py Fri Apr 13 14:16:30 2018 -0400 @@ -561,7 +561,7 @@ if defaulturl.scheme in (b'http', b'https'): if defaulturl.path and defaulturl.path[:-1] != b'/': defaulturl.path += b'/' - defaulturl.path = defaulturl.path or b'' + b'.git/info/lfs' + defaulturl.path = (defaulturl.path or b'') + b'.git/info/lfs' url = util.url(bytes(defaulturl)) repo.ui.note(_('lfs: assuming remote store: %s\n') % url)