Show More
@@ -340,6 +340,9 b" configitem('bugzilla', 'db'," | |||
|
340 | 340 | configitem('bugzilla', 'fixregexp', |
|
341 | 341 | default=lambda: bugzilla._default_fix_re, |
|
342 | 342 | ) |
|
343 | configitem('bugzilla', 'fixresolution', | |
|
344 | default='FIXED', | |
|
345 | ) | |
|
343 | 346 | |
|
344 | 347 | class bzaccess(object): |
|
345 | 348 | '''Base class for access to Bugzilla.''' |
@@ -668,8 +671,7 b' class bzxmlrpc(bzaccess):' | |||
|
668 | 671 | passwd = self.ui.config('bugzilla', 'password') |
|
669 | 672 | |
|
670 | 673 | self.fixstatus = self.ui.config('bugzilla', 'fixstatus', 'RESOLVED') |
|
671 |
self.fixresolution = self.ui.config('bugzilla', 'fixresolution' |
|
|
672 | 'FIXED') | |
|
674 | self.fixresolution = self.ui.config('bugzilla', 'fixresolution') | |
|
673 | 675 | |
|
674 | 676 | self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb)) |
|
675 | 677 | ver = self.bzproxy.Bugzilla.version()['version'].split('.') |
@@ -827,8 +829,7 b' class bzrestapi(bzaccess):' | |||
|
827 | 829 | self.user = self.ui.config('bugzilla', 'user', 'bugs') |
|
828 | 830 | self.passwd = self.ui.config('bugzilla', 'password') |
|
829 | 831 | self.fixstatus = self.ui.config('bugzilla', 'fixstatus', 'RESOLVED') |
|
830 |
self.fixresolution = self.ui.config('bugzilla', 'fixresolution' |
|
|
831 | 'FIXED') | |
|
832 | self.fixresolution = self.ui.config('bugzilla', 'fixresolution') | |
|
832 | 833 | |
|
833 | 834 | def apiurl(self, targets, include_fields=None): |
|
834 | 835 | url = '/'.join([self.bzroot] + [str(t) for t in targets]) |
General Comments 0
You need to be logged in to leave comments.
Login now