Mercurial > kallithea
changeset 2858:dd2d5b65cae9 beta
Also export config filename via extras.config in simplegit middleware (juste like for the simplehg one)
author | Vincent Caron <vcaron@bearstech.com> |
---|---|
date | Thu, 20 Sep 2012 15:35:55 +0200 |
parents | bad89b2fe618 |
children | 02e668af87ac |
files | rhodecode/lib/middleware/simplegit.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py Fri Sep 07 22:59:08 2012 +0200 +++ b/rhodecode/lib/middleware/simplegit.py Thu Sep 20 15:35:55 2012 +0200 @@ -188,12 +188,14 @@ # extras are injected into UI object and later available # in hooks executed by rhodecode + from rhodecode import CONFIG extras = { 'ip': ipaddr, 'username': username, 'action': action, 'repository': repo_name, 'scm': 'git', + 'config': CONFIG['__file__'], 'make_lock': None, 'locked_by': [None, None] }