# HG changeset patch # User Marcin Kuzminski # Date 2012-03-01 17:40:42 # Node ID eefb197bdd9535d5c6518f3df1ca078558455a24 # Parent 2678b1e0e059566eb795c5ed2af7f5c26a5aa500 fixed missing commit after hook delete diff --git a/docs/changelog.rst b/docs/changelog.rst --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -25,6 +25,10 @@ fixes configuration - fixed initial sorting of repos inside repo group - fixes issue when user tried to resubmit same permission into user/user_groups +- bumped beaker version that fixes #375 leap error bug +- fixed raw_changeset for git. It was generated with hg patch headers +- fixed vcs issue with last_changeset for filenodes +- fixed missing commit after hook delete 1.3.2 (**2012-02-28**) ---------------------- diff --git a/rhodecode/controllers/admin/settings.py b/rhodecode/controllers/admin/settings.py --- a/rhodecode/controllers/admin/settings.py +++ b/rhodecode/controllers/admin/settings.py @@ -248,7 +248,7 @@ class SettingsController(BaseController) if update: h.flash(_('Updated hooks'), category='success') - Session.commit() + self.sa.commit() except: log.error(traceback.format_exc()) h.flash(_('error occurred during hook creation'), @@ -285,7 +285,7 @@ class SettingsController(BaseController) if setting_id == 'hooks': hook_id = request.POST.get('hook_id') RhodeCodeUi.delete(hook_id) - + self.sa.commit() @HasPermissionAllDecorator('hg.admin') def show(self, setting_id, format='html'):