Mercurial > kallithea
comparison rhodecode/controllers/admin/repos.py @ 1323:a7a772ea7b95 beta
fixed saving settings on repositories inside groups, also fixes #187
added options to properly rename directories in groups
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 12 May 2011 00:31:17 +0200 |
parents | 5f2fbab7c429 |
children | eef7a1b953e8 |
comparison
equal
deleted
inserted
replaced
1322:8cca07df79dd | 1323:a7a772ea7b95 |
---|---|
232 form_result = _form.to_python(dict(request.POST)) | 232 form_result = _form.to_python(dict(request.POST)) |
233 repo_model.update(repo_name, form_result) | 233 repo_model.update(repo_name, form_result) |
234 invalidate_cache('get_repo_cached_%s' % repo_name) | 234 invalidate_cache('get_repo_cached_%s' % repo_name) |
235 h.flash(_('Repository %s updated successfully' % repo_name), | 235 h.flash(_('Repository %s updated successfully' % repo_name), |
236 category='success') | 236 category='success') |
237 changed_name = form_result['repo_name'] | 237 changed_name = form_result['repo_name_full'] |
238 action_logger(self.rhodecode_user, 'admin_updated_repo', | 238 action_logger(self.rhodecode_user, 'admin_updated_repo', |
239 changed_name, '', self.sa) | 239 changed_name, '', self.sa) |
240 | 240 |
241 except formencode.Invalid, errors: | 241 except formencode.Invalid, errors: |
242 defaults = self.__load_data(repo_name) | 242 defaults = self.__load_data(repo_name) |