##// END OF EJS Templates
Also export config filename via extras.config in simplegit middleware (juste like for the simplehg one)
Vincent Caron -
r2858:dd2d5b65 beta
parent child Browse files
Show More
@@ -188,12 +188,14 b' class SimpleGit(BaseVCSController):'
188
188
189 # extras are injected into UI object and later available
189 # extras are injected into UI object and later available
190 # in hooks executed by rhodecode
190 # in hooks executed by rhodecode
191 from rhodecode import CONFIG
191 extras = {
192 extras = {
192 'ip': ipaddr,
193 'ip': ipaddr,
193 'username': username,
194 'username': username,
194 'action': action,
195 'action': action,
195 'repository': repo_name,
196 'repository': repo_name,
196 'scm': 'git',
197 'scm': 'git',
198 'config': CONFIG['__file__'],
197 'make_lock': None,
199 'make_lock': None,
198 'locked_by': [None, None]
200 'locked_by': [None, None]
199 }
201 }
General Comments 0
You need to be logged in to leave comments. Login now