Changeset - d11ecf2f6327
[Not reviewed]
default
0 2 0
Simon Lopez - 13 years ago 2013-05-12 23:41:40
simon.lopez@slopez.org
Repo type can't be changed. Fixes issue 836
2 files changed with 1 insertions and 9 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/repo.py
Show inline comments
 
@@ -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')]:
rhodecode/templates/admin/repos/repo_edit.html
Show inline comments
 
@@ -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">
0 comments (0 inline, 0 general)