Show More
@@ -152,12 +152,14 b' class SimpleHg(BaseVCSController):' | |||||
152 |
|
152 | |||
153 | # extras are injected into mercurial UI object and later available |
|
153 | # extras are injected into mercurial UI object and later available | |
154 | # in hg hooks executed by rhodecode |
|
154 | # in hg hooks executed by rhodecode | |
|
155 | from rhodecode import CONFIG | |||
155 | extras = { |
|
156 | extras = { | |
156 | 'ip': ipaddr, |
|
157 | 'ip': ipaddr, | |
157 | 'username': username, |
|
158 | 'username': username, | |
158 | 'action': action, |
|
159 | 'action': action, | |
159 | 'repository': repo_name, |
|
160 | 'repository': repo_name, | |
160 | 'scm': 'hg', |
|
161 | 'scm': 'hg', | |
|
162 | 'config': CONFIG['__file__'], | |||
161 | 'make_lock': None, |
|
163 | 'make_lock': None, | |
162 | 'locked_by': [None, None] |
|
164 | 'locked_by': [None, None] | |
163 | } |
|
165 | } |
General Comments 0
You need to be logged in to leave comments.
Login now