Show More
@@ -233,11 +233,12 b' class SimpleGit(BaseVCSController):' | |||
|
233 | 233 | self._invalidate_cache(repo_name) |
|
234 | 234 | self._handle_githooks(repo_name, action, baseui, environ) |
|
235 | 235 | |
|
236 |
log.info('%s action on GIT repo "%s"' % |
|
|
236 | log.info('%s action on GIT repo "%s" by "%s" from %s' % | |
|
237 | (action, repo_name, username, ip_addr)) | |
|
237 | 238 | app = self.__make_app(repo_name, repo_path, extras) |
|
238 | 239 | return app(environ, start_response) |
|
239 | 240 | except HTTPLockedRC, e: |
|
240 | log.debug('Repositry LOCKED ret code 423!') | |
|
241 | log.debug('Repository LOCKED ret code 423!') | |
|
241 | 242 | return e(environ, start_response) |
|
242 | 243 | except Exception: |
|
243 | 244 | log.error(traceback.format_exc()) |
@@ -194,14 +194,15 b' class SimpleHg(BaseVCSController):' | |||
|
194 | 194 | # invalidate cache on push |
|
195 | 195 | if action == 'push': |
|
196 | 196 | self._invalidate_cache(repo_name) |
|
197 |
log.info('%s action on HG repo "%s"' % |
|
|
197 | log.info('%s action on HG repo "%s" by "%s" from %s' % | |
|
198 | (action, repo_name, username, ip_addr)) | |
|
198 | 199 | app = self.__make_app(repo_path, baseui, extras) |
|
199 | 200 | return app(environ, start_response) |
|
200 | 201 | except RepoError, e: |
|
201 | 202 | if str(e).find('not found') != -1: |
|
202 | 203 | return HTTPNotFound()(environ, start_response) |
|
203 | 204 | except HTTPLockedRC, e: |
|
204 | log.debug('Repositry LOCKED ret code 423!') | |
|
205 | log.debug('Repository LOCKED ret code 423!') | |
|
205 | 206 | return e(environ, start_response) |
|
206 | 207 | except Exception: |
|
207 | 208 | log.error(traceback.format_exc()) |
General Comments 0
You need to be logged in to leave comments.
Login now