##// END OF EJS Templates
configitems: register the 'bugzilla.fixstatus' config
Boris Feld -
r33401:96035065 default
parent child Browse files
Show More
@@ -343,6 +343,9 b" configitem('bugzilla', 'fixregexp',"
343 343 configitem('bugzilla', 'fixresolution',
344 344 default='FIXED',
345 345 )
346 configitem('bugzilla', 'fixstatus',
347 default='RESOLVED',
348 )
346 349
347 350 class bzaccess(object):
348 351 '''Base class for access to Bugzilla.'''
@@ -670,7 +673,7 b' class bzxmlrpc(bzaccess):'
670 673 user = self.ui.config('bugzilla', 'user', 'bugs')
671 674 passwd = self.ui.config('bugzilla', 'password')
672 675
673 self.fixstatus = self.ui.config('bugzilla', 'fixstatus', 'RESOLVED')
676 self.fixstatus = self.ui.config('bugzilla', 'fixstatus')
674 677 self.fixresolution = self.ui.config('bugzilla', 'fixresolution')
675 678
676 679 self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb))
@@ -828,7 +831,7 b' class bzrestapi(bzaccess):'
828 831 self.apikey = self.ui.config('bugzilla', 'apikey')
829 832 self.user = self.ui.config('bugzilla', 'user', 'bugs')
830 833 self.passwd = self.ui.config('bugzilla', 'password')
831 self.fixstatus = self.ui.config('bugzilla', 'fixstatus', 'RESOLVED')
834 self.fixstatus = self.ui.config('bugzilla', 'fixstatus')
832 835 self.fixresolution = self.ui.config('bugzilla', 'fixresolution')
833 836
834 837 def apiurl(self, targets, include_fields=None):
General Comments 0
You need to be logged in to leave comments. Login now