# HG changeset patch # User Martin Bornhold # Date 2016-06-23 11:14:57 # Node ID e472f9423d92dc523531d2d4eb4b9692e0677325 # Parent 640a4096d1ca738ea59d9f4ee0ecb73332926d7e hg: Include mercurial patching when using the http app. diff --git a/vcsserver/http_main.py b/vcsserver/http_main.py --- a/vcsserver/http_main.py +++ b/vcsserver/http_main.py @@ -28,7 +28,7 @@ from beaker.util import parse_cache_conf from pyramid.config import Configurator from pyramid.wsgi import wsgiapp -from vcsserver import remote_wsgi, scm_app, settings +from vcsserver import remote_wsgi, scm_app, settings, hgpatches from vcsserver.echo_stub import remote_wsgi as remote_wsgi_stub from vcsserver.echo_stub.echo_app import EchoApp from vcsserver.server import VcsServer @@ -331,5 +331,7 @@ class ResponseFilter(object): def main(global_config, **settings): + if MercurialFactory: + hgpatches.patch_largefiles_capabilities() app = HTTPApplication(settings=settings) return app.wsgi_app()