##// END OF EJS Templates
code: small cleanups of code
marcink -
r2746:9e435730 default
parent child Browse files
Show More
@@ -80,10 +80,7 b' class RepoFilesView(RepoAppView):'
80 80
81 81 def load_default_context(self):
82 82 c = self._get_local_tmpl_context(include_app_defaults=True)
83
84 83 c.rhodecode_repo = self.rhodecode_vcs_repo
85
86
87 84 return c
88 85
89 86 def _ensure_not_locked(self):
@@ -242,6 +242,7 b' class RepoSettingsView(RepoAppView):'
242 242 _ = self.request.translate
243 243 self.load_default_context()
244 244 self.rhodecode_vcs_repo.install_hooks(force=True)
245 h.flash(_('installed hooks repository'), category='success')
245 h.flash(_('installed updated hooks into this repository'),
246 category='success')
246 247 raise HTTPFound(
247 248 h.route_path('edit_repo_advanced', repo_name=self.db_repo_name))
General Comments 0
You need to be logged in to leave comments. Login now