Show More
@@ -163,10 +163,13 b' class ForksController(BaseRepoController' | |||
|
163 | 163 | _form = RepoForkForm(old_data={'repo_type': c.repo_info.repo_type}, |
|
164 | 164 | repo_groups=c.repo_groups_choices, |
|
165 | 165 | landing_revs=c.landing_revs_choices)() |
|
166 | post_data = dict(request.POST) | |
|
167 | post_data['fork_parent_id'] = c.repo_info.repo_id | |
|
168 | ||
|
166 | 169 | form_result = {} |
|
167 | 170 | task_id = None |
|
168 | 171 | try: |
|
169 |
form_result = _form.to_python( |
|
|
172 | form_result = _form.to_python(post_data) | |
|
170 | 173 | # create fork is done sometimes async on celery, db transaction |
|
171 | 174 | # management is handled there. |
|
172 | 175 | task = RepoModel().create_fork( |
General Comments 0
You need to be logged in to leave comments.
Login now