equal
deleted
inserted
replaced
28 """Wrap wireprotoserver.handlewsgirequest() to possibly process an LFS |
28 """Wrap wireprotoserver.handlewsgirequest() to possibly process an LFS |
29 request if it is left unprocessed by the wrapped method. |
29 request if it is left unprocessed by the wrapped method. |
30 """ |
30 """ |
31 if orig(rctx, req, res, checkperm): |
31 if orig(rctx, req, res, checkperm): |
32 return True |
32 return True |
|
33 |
|
34 if not rctx.repo.ui.configbool('experimental', 'lfs.serve'): |
|
35 return False |
33 |
36 |
34 if not req.dispatchpath: |
37 if not req.dispatchpath: |
35 return False |
38 return False |
36 |
39 |
37 try: |
40 try: |