changeset 16881 | 2255950e1f76 |
parent 16743 | 38caf405d010 |
parent 16876 | fdc879042414 |
child 17424 | e7cfe3587ea4 |
child 17534 | c5f7c4b515a4 |
--- a/hgext/bugzilla.py Tue Jun 05 22:46:14 2012 +0200 +++ b/hgext/bugzilla.py Wed Jun 06 21:17:33 2012 -0500 @@ -657,8 +657,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: