##// END OF EJS Templates
fixed missing commit after hook delete
marcink -
r2086:eefb197b beta
parent child Browse files
Show More
@@ -25,6 +25,10 b' fixes'
25 configuration
25 configuration
26 - fixed initial sorting of repos inside repo group
26 - fixed initial sorting of repos inside repo group
27 - fixes issue when user tried to resubmit same permission into user/user_groups
27 - fixes issue when user tried to resubmit same permission into user/user_groups
28 - bumped beaker version that fixes #375 leap error bug
29 - fixed raw_changeset for git. It was generated with hg patch headers
30 - fixed vcs issue with last_changeset for filenodes
31 - fixed missing commit after hook delete
28
32
29 1.3.2 (**2012-02-28**)
33 1.3.2 (**2012-02-28**)
30 ----------------------
34 ----------------------
@@ -248,7 +248,7 b' class SettingsController(BaseController)'
248
248
249 if update:
249 if update:
250 h.flash(_('Updated hooks'), category='success')
250 h.flash(_('Updated hooks'), category='success')
251 Session.commit()
251 self.sa.commit()
252 except:
252 except:
253 log.error(traceback.format_exc())
253 log.error(traceback.format_exc())
254 h.flash(_('error occurred during hook creation'),
254 h.flash(_('error occurred during hook creation'),
@@ -285,7 +285,7 b' class SettingsController(BaseController)'
285 if setting_id == 'hooks':
285 if setting_id == 'hooks':
286 hook_id = request.POST.get('hook_id')
286 hook_id = request.POST.get('hook_id')
287 RhodeCodeUi.delete(hook_id)
287 RhodeCodeUi.delete(hook_id)
288
288 self.sa.commit()
289
289
290 @HasPermissionAllDecorator('hg.admin')
290 @HasPermissionAllDecorator('hg.admin')
291 def show(self, setting_id, format='html'):
291 def show(self, setting_id, format='html'):
General Comments 0
You need to be logged in to leave comments. Login now