Show More
@@ -416,6 +416,8 b' def ValidCloneUri():' | |||
|
416 | 416 | svnremoterepo(ui, url).capabilities |
|
417 | 417 | elif url.startswith('git+http'): |
|
418 | 418 | raise NotImplementedError() |
|
419 | else: | |
|
420 | raise Exception('clone from URI %s not allowed' % (url)) | |
|
419 | 421 | |
|
420 | 422 | elif repo_type == 'git': |
|
421 | 423 | from rhodecode.lib.vcs.backends.git.repository import GitRepository |
@@ -427,6 +429,8 b' def ValidCloneUri():' | |||
|
427 | 429 | raise NotImplementedError() |
|
428 | 430 | elif url.startswith('hg+http'): |
|
429 | 431 | raise NotImplementedError() |
|
432 | else: | |
|
433 | raise Exception('clone from URI %s not allowed' % (url)) | |
|
430 | 434 | |
|
431 | 435 | class _validator(formencode.validators.FancyValidator): |
|
432 | 436 | messages = { |
General Comments 0
You need to be logged in to leave comments.
Login now