Show More
@@ -347,8 +347,6 def handle_git_receive(repo_path, revs, | |||||
347 | #post push shouldn't use the cached instance never |
|
347 | #post push shouldn't use the cached instance never | |
348 | repo = repo.scm_instance_no_cache() |
|
348 | repo = repo.scm_instance_no_cache() | |
349 |
|
349 | |||
350 | repo.ui = baseui |
|
|||
351 |
|
||||
352 | if hook_type == 'pre': |
|
350 | if hook_type == 'pre': | |
353 | pre_push(baseui, repo) |
|
351 | pre_push(baseui, repo) | |
354 |
|
352 |
@@ -443,7 +443,7 class ScmModel(BaseModel): | |||||
443 | if repo.alias == 'hg': |
|
443 | if repo.alias == 'hg': | |
444 | log_push_action(_scm_repo.ui, _scm_repo, node=revisions[0]) |
|
444 | log_push_action(_scm_repo.ui, _scm_repo, node=revisions[0]) | |
445 | elif repo.alias == 'git': |
|
445 | elif repo.alias == 'git': | |
446 |
log_push_action( |
|
446 | log_push_action(None, _scm_repo, _git_revs=revisions) | |
447 |
|
447 | |||
448 | def _get_IMC_module(self, scm_type): |
|
448 | def _get_IMC_module(self, scm_type): | |
449 | """ |
|
449 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now