diff rhodecode/controllers/changeset.py @ 2286:9265958e33bb codereview

Show changes of status inside comments - comments that change status are now associated with status object, and showed in comments blocks
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 17 May 2012 00:02:52 +0200
parents 76947224bf27
children e5c0f201ca0b
line wrap: on
line diff
--- a/rhodecode/controllers/changeset.py	Wed May 16 23:17:13 2012 +0200
+++ b/rhodecode/controllers/changeset.py	Thu May 17 00:02:52 2012 +0200
@@ -381,10 +381,11 @@
         status = request.POST.get('changeset_status')
         if status and request.POST.get('change_changeset_status'):
             ChangesetStatusModel().set_status(
-                c.rhodecode_db_repo.repo_id, 
+                c.rhodecode_db_repo.repo_id,
                 revision,
                 status,
                 c.rhodecode_user.user_id,
+                comm,
             )
 
         Session.commit()