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