Show More
@@ -458,8 +458,12 b' class RepoModel(BaseModel):' | |||
|
458 | 458 | ) |
|
459 | 459 | ) |
|
460 | 460 | backend = get_backend(alias) |
|
461 | ||
|
461 | if alias == 'hg': | |
|
462 | 462 | backend(repo_path, create=True, src_url=clone_uri) |
|
463 | elif alias == 'git': | |
|
464 | backend(repo_path, create=True, src_url=clone_uri, bare=True) | |
|
465 | else: | |
|
466 | raise Exception('Undefined alias %s' % alias) | |
|
463 | 467 | |
|
464 | 468 | def __rename_repo(self, old, new): |
|
465 | 469 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now