##// END OF EJS Templates
simplevcs: store rc_extras reference inside the apps itself so it can be used during...
marcink -
r2389:0272fdf5 default
parent child Browse files
Show More
@@ -37,6 +37,8 b' class SimpleSvnApp(object):'
37 37 IGNORED_HEADERS = [
38 38 'connection', 'keep-alive', 'content-encoding',
39 39 'transfer-encoding', 'content-length']
40 rc_extras = {}
41
40 42
41 43 def __init__(self, config):
42 44 self.config = config
@@ -92,6 +92,7 b' class SimpleVCS(object):'
92 92 acl_repo_name = None
93 93 url_repo_name = None
94 94 vcs_repo_name = None
95 rc_extras = {}
95 96
96 97 # We have to handle requests to shadow repositories different than requests
97 98 # to normal repositories. Therefore we have to distinguish them. To do this
@@ -532,6 +533,7 b' class SimpleVCS(object):'
532 533 config = self._create_config(extras, self.acl_repo_name)
533 534 log.debug('HOOKS extras is %s', extras)
534 535 app = self._create_wsgi_app(repo_path, self.url_repo_name, config)
536 app.rc_extras = extras
535 537
536 538 try:
537 539 with callback_daemon:
General Comments 0
You need to be logged in to leave comments. Login now