aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model
diff options
context:
space:
mode:
authorSimon Lopez <simon.lopez@slopez.org>2013-05-12 23:41:40 +0200
committerSimon Lopez <simon.lopez@slopez.org>2013-05-12 23:41:40 +0200
commit45e0fa1ae6b05f4785cde57bf217bfa39b582b36 (patch)
tree403c96bb374b2714c870fe752c8dd2f9e18da797 /rhodecode/model
parent2e978a6cdf3a3d94ad45982cf8314571006e49ef (diff)
Repo type can't be changed. Fixes issue 836
Diffstat (limited to 'rhodecode/model')
-rw-r--r--rhodecode/model/repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/model/repo.py b/rhodecode/model/repo.py
index fcfece76..799441b7 100644
--- a/rhodecode/model/repo.py
+++ b/rhodecode/model/repo.py
@@ -286,7 +286,7 @@ class RepoModel(BaseModel):
if 'repo_group' in kwargs:
cur_repo.group = RepoGroup.get(kwargs['repo_group'])
- for strip, k in [(0, 'repo_type'), (1, 'repo_enable_downloads'),
+ for strip, k in [(1, 'repo_enable_downloads'),
(1, 'repo_description'), (1, 'repo_enable_locking'),
(1, 'repo_landing_rev'), (0, 'clone_uri'),
(1, 'repo_private'), (1, 'repo_enable_statistics')]: