diff options
-rw-r--r-- | rhodecode/model/repo.py | 2 | ||||
-rw-r--r-- | rhodecode/templates/admin/repos/repo_edit.html | 8 |
2 files changed, 1 insertions, 9 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')]: diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html index ebf60226..fba1207c 100644 --- a/rhodecode/templates/admin/repos/repo_edit.html +++ b/rhodecode/templates/admin/repos/repo_edit.html @@ -55,14 +55,6 @@ ${self.context_bar('options')} </div> <div class="field"> <div class="label"> - <label for="repo_type">${_('Type')}:</label> - </div> - <div class="input"> - ${h.select('repo_type','hg',c.backends,class_="medium")} - </div> - </div> - <div class="field"> - <div class="label"> <label for="repo_landing_rev">${_('Landing revision')}:</label> </div> <div class="input"> |