Show More
@@ -282,10 +282,7 b' class RepoModel(BaseModel):' | |||||
282 | clone_uri) |
|
282 | clone_uri) | |
283 | log_create_repository(new_repo.get_dict(), |
|
283 | log_create_repository(new_repo.get_dict(), | |
284 | created_by=owner.username) |
|
284 | created_by=owner.username) | |
285 | else: |
|
285 | ||
286 | # install the githook if it's a git repo |
|
|||
287 | if repo_type == 'git': |
|
|||
288 | ScmModel().install_git_hook(repo=new_repo.scm_instance) |
|
|||
289 | # now automatically start following this repository as owner |
|
286 | # now automatically start following this repository as owner | |
290 | ScmModel(self.sa).toggle_following_repo(new_repo.repo_id, |
|
287 | ScmModel(self.sa).toggle_following_repo(new_repo.repo_id, | |
291 | owner.user_id) |
|
288 | owner.user_id) |
General Comments 0
You need to be logged in to leave comments.
Login now