hgext/bugzilla.py
branchstable
changeset 16876 fdc879042414
parent 16649 822e75386c16
child 16881 2255950e1f76
--- a/hgext/bugzilla.py	Mon Jun 04 17:22:09 2012 -0500
+++ b/hgext/bugzilla.py	Wed Jun 06 16:44:17 2012 +0100
@@ -654,8 +654,9 @@
         if self.bzvermajor >= 4:
             args['ids'] = [bugid]
             args['comment'] = {'body' : text}
-            args['status'] = self.fixstatus
-            args['resolution'] = self.fixresolution
+            if 'fix' in newstate:
+                args['status'] = self.fixstatus
+                args['resolution'] = self.fixresolution
             self.bzproxy.Bug.update(args)
         else:
             if 'fix' in newstate: