Mercurial > hg-stable
changeset 33401:960350659fa5
configitems: register the 'bugzilla.fixstatus' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 07 Jul 2017 10:03:57 +0200 |
parents | 76ca5097a2b6 |
children | 26e4ba058215 |
files | hgext/bugzilla.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/bugzilla.py Fri Jul 07 10:05:40 2017 +0200 +++ b/hgext/bugzilla.py Fri Jul 07 10:03:57 2017 +0200 @@ -343,6 +343,9 @@ configitem('bugzilla', 'fixresolution', default='FIXED', ) +configitem('bugzilla', 'fixstatus', + default='RESOLVED', +) class bzaccess(object): '''Base class for access to Bugzilla.''' @@ -670,7 +673,7 @@ user = self.ui.config('bugzilla', 'user', 'bugs') passwd = self.ui.config('bugzilla', 'password') - self.fixstatus = self.ui.config('bugzilla', 'fixstatus', 'RESOLVED') + self.fixstatus = self.ui.config('bugzilla', 'fixstatus') self.fixresolution = self.ui.config('bugzilla', 'fixresolution') self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb)) @@ -828,7 +831,7 @@ self.apikey = self.ui.config('bugzilla', 'apikey') self.user = self.ui.config('bugzilla', 'user', 'bugs') self.passwd = self.ui.config('bugzilla', 'password') - self.fixstatus = self.ui.config('bugzilla', 'fixstatus', 'RESOLVED') + self.fixstatus = self.ui.config('bugzilla', 'fixstatus') self.fixresolution = self.ui.config('bugzilla', 'fixresolution') def apiurl(self, targets, include_fields=None):