Show More
@@ -80,10 +80,7 b' class RepoFilesView(RepoAppView):' | |||||
80 |
|
80 | |||
81 | def load_default_context(self): |
|
81 | def load_default_context(self): | |
82 | c = self._get_local_tmpl_context(include_app_defaults=True) |
|
82 | c = self._get_local_tmpl_context(include_app_defaults=True) | |
83 |
|
||||
84 | c.rhodecode_repo = self.rhodecode_vcs_repo |
|
83 | c.rhodecode_repo = self.rhodecode_vcs_repo | |
85 |
|
||||
86 |
|
||||
87 | return c |
|
84 | return c | |
88 |
|
85 | |||
89 | def _ensure_not_locked(self): |
|
86 | def _ensure_not_locked(self): |
@@ -242,6 +242,7 b' class RepoSettingsView(RepoAppView):' | |||||
242 | _ = self.request.translate |
|
242 | _ = self.request.translate | |
243 | self.load_default_context() |
|
243 | self.load_default_context() | |
244 | self.rhodecode_vcs_repo.install_hooks(force=True) |
|
244 | self.rhodecode_vcs_repo.install_hooks(force=True) | |
245 |
h.flash(_('installed hooks repository'), |
|
245 | h.flash(_('installed updated hooks into this repository'), | |
|
246 | category='success') | |||
246 | raise HTTPFound( |
|
247 | raise HTTPFound( | |
247 | h.route_path('edit_repo_advanced', repo_name=self.db_repo_name)) |
|
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