Show More
@@ -33,6 +33,7 b' fixes' | |||||
33 | - fixes #550 mercurial repositories comparision failed when origin repo had |
|
33 | - fixes #550 mercurial repositories comparision failed when origin repo had | |
34 | additional not-common changesets |
|
34 | additional not-common changesets | |
35 | - fixed status of code-review in preview windows of pull request |
|
35 | - fixed status of code-review in preview windows of pull request | |
|
36 | - git forks were not initialized at bare repos | |||
36 |
|
37 | |||
37 | 1.4.0 (**2012-09-03**) |
|
38 | 1.4.0 (**2012-09-03**) | |
38 | ---------------------- |
|
39 | ---------------------- |
@@ -402,7 +402,7 b' def create_repo_fork(form_data, cur_user' | |||||
402 | backend = get_backend(repo_type) |
|
402 | backend = get_backend(repo_type) | |
403 | backend(safe_str(destination_fork_path), create=True, |
|
403 | backend(safe_str(destination_fork_path), create=True, | |
404 | src_url=safe_str(source_repo_path), |
|
404 | src_url=safe_str(source_repo_path), | |
405 | update_after_clone=update_after_clone) |
|
405 | update_after_clone=update_after_clone, bare=True) | |
406 | log_create_repository(fork_repo.get_dict(), created_by=cur_user.username) |
|
406 | log_create_repository(fork_repo.get_dict(), created_by=cur_user.username) | |
407 |
|
407 | |||
408 | action_logger(cur_user, 'user_forked_repo:%s' % fork_name, |
|
408 | action_logger(cur_user, 'user_forked_repo:%s' % fork_name, |
@@ -178,7 +178,7 b' class GitRepository(BaseRepository):' | |||||
178 | raise urllib2.URLError("[%s] %s" % (url, e)) |
|
178 | raise urllib2.URLError("[%s] %s" % (url, e)) | |
179 |
|
179 | |||
180 | def _get_repo(self, create, src_url=None, update_after_clone=False, |
|
180 | def _get_repo(self, create, src_url=None, update_after_clone=False, | |
181 | bare=False): |
|
181 | bare=False): | |
182 | if create and os.path.exists(self.path): |
|
182 | if create and os.path.exists(self.path): | |
183 | raise RepositoryError("Location already exist") |
|
183 | raise RepositoryError("Location already exist") | |
184 | if src_url and not create: |
|
184 | if src_url and not create: |
General Comments 0
You need to be logged in to leave comments.
Login now