diff rhodecode/model/changeset_status.py @ 3700:3563bb7b4b82

merge with rc1
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 07 Apr 2013 18:37:22 +0200
parents dadfcd30589f
children 3625fd19b201
line wrap: on
line diff
--- a/rhodecode/model/changeset_status.py	Mon Mar 11 17:59:38 2013 +0100
+++ b/rhodecode/model/changeset_status.py	Sun Apr 07 18:37:22 2013 +0200
@@ -132,10 +132,11 @@
         if not comment:
             from rhodecode.model.comment import ChangesetCommentsModel
             comment = ChangesetCommentsModel().create(
-                text='Auto status change',
+                text='Auto status change to %s' % (ChangesetStatus.get_status_lbl(status)),
                 repo=repo,
                 user=user,
                 pull_request=pull_request,
+                send_email=False
             )
         if revision:
             q = q.filter(ChangesetStatus.repo == repo)