[Python-checkins] hooks: Also set stage when automatically closing an issue

eric.araujo python-checkins at python.org
Fri Mar 11 18:24:00 CET 2011


http://hg.python.org/hooks/rev/985622a5fcc1
changeset:   60:985622a5fcc1
user:        Éric Araujo <merwok at netwok.org>
date:        Fri Mar 11 18:17:28 2011 +0100
summary:
  Also set stage when automatically closing an issue

files:
  hgroundup.py

diff --git a/hgroundup.py b/hgroundup.py
--- a/hgroundup.py
+++ b/hgroundup.py
@@ -119,7 +119,8 @@
     if data['verb']:
         issues[key]['properties'].update({
             'status': 'closed',
-            'resolution': 'fixed'
+            'resolution': 'fixed',
+            'stage': 'committed/rejected',
         })
 
 def send_comments(mailrelay, fromaddr, toaddr, issues):

-- 
Repository URL: http://hg.python.org/hooks


More information about the Python-checkins mailing list