changeset 2086:eefb197bdd95 beta

fixed missing commit after hook delete
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 01 Mar 2012 19:40:42 +0200
parents 2678b1e0e059
children fc4a0152a021
files docs/changelog.rst rhodecode/controllers/admin/settings.py
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docs/changelog.rst	Thu Mar 01 19:38:21 2012 +0200
+++ b/docs/changelog.rst	Thu Mar 01 19:40:42 2012 +0200
@@ -25,6 +25,10 @@
   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**)
 ----------------------
--- a/rhodecode/controllers/admin/settings.py	Thu Mar 01 19:38:21 2012 +0200
+++ b/rhodecode/controllers/admin/settings.py	Thu Mar 01 19:40:42 2012 +0200
@@ -248,7 +248,7 @@
 
                 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 @@
         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'):