Mercurial > kallithea
changeset 3859:c32322126fe4 beta
Repo type can't be changed. Fixes issue 836
author | Simon Lopez <simon.lopez@slopez.org> |
---|---|
date | Sun, 12 May 2013 23:41:40 +0200 |
parents | be2b75779da3 |
children | c71e05076359 |
files | rhodecode/model/repo.py rhodecode/templates/admin/repos/repo_edit.html |
diffstat | 2 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/model/repo.py Sun May 12 19:19:33 2013 +0200 +++ b/rhodecode/model/repo.py Sun May 12 23:41:40 2013 +0200 @@ -307,7 +307,7 @@ 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')]:
--- a/rhodecode/templates/admin/repos/repo_edit.html Sun May 12 19:19:33 2013 +0200 +++ b/rhodecode/templates/admin/repos/repo_edit.html Sun May 12 23:41:40 2013 +0200 @@ -55,14 +55,6 @@ </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">