branch | stable |
changeset 38178 | 3790efb388ca |
parent 37766 | 925707ac2855 |
child 39457 | a913d2892e17 |
--- a/hgext/lfs/wireprotolfsserver.py Thu May 24 21:54:31 2018 +0900 +++ b/hgext/lfs/wireprotolfsserver.py Thu May 31 09:19:09 2018 -0400 @@ -18,6 +18,7 @@ from mercurial import ( pycompat, + util, ) from . import blobstore @@ -40,6 +41,9 @@ if not rctx.repo.ui.configbool('experimental', 'lfs.serve'): return False + if not util.safehasattr(rctx.repo.svfs, 'lfslocalblobstore'): + return False + if not req.dispatchpath: return False