##// END OF EJS Templates
Repo type can't be changed. Fixes issue 836
Simon Lopez -
r3859:c3232212 beta
parent child Browse files
Show More
@@ -307,7 +307,7 b' class RepoModel(BaseModel):'
307 if 'repo_group' in kwargs:
307 if 'repo_group' in kwargs:
308 cur_repo.group = RepoGroup.get(kwargs['repo_group'])
308 cur_repo.group = RepoGroup.get(kwargs['repo_group'])
309
309
310 for strip, k in [(0, 'repo_type'), (1, 'repo_enable_downloads'),
310 for strip, k in [(1, 'repo_enable_downloads'),
311 (1, 'repo_description'), (1, 'repo_enable_locking'),
311 (1, 'repo_description'), (1, 'repo_enable_locking'),
312 (1, 'repo_landing_rev'), (0, 'clone_uri'),
312 (1, 'repo_landing_rev'), (0, 'clone_uri'),
313 (1, 'repo_private'), (1, 'repo_enable_statistics')]:
313 (1, 'repo_private'), (1, 'repo_enable_statistics')]:
@@ -55,14 +55,6 b''
55 </div>
55 </div>
56 <div class="field">
56 <div class="field">
57 <div class="label">
57 <div class="label">
58 <label for="repo_type">${_('Type')}:</label>
59 </div>
60 <div class="input">
61 ${h.select('repo_type','hg',c.backends,class_="medium")}
62 </div>
63 </div>
64 <div class="field">
65 <div class="label">
66 <label for="repo_landing_rev">${_('Landing revision')}:</label>
58 <label for="repo_landing_rev">${_('Landing revision')}:</label>
67 </div>
59 </div>
68 <div class="input">
60 <div class="input">
General Comments 0
You need to be logged in to leave comments. Login now