##// 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 configitem('bugzilla', 'fixresolution',
343 configitem('bugzilla', 'fixresolution',
344 default='FIXED',
344 default='FIXED',
345 )
345 )
346 configitem('bugzilla', 'fixstatus',
347 default='RESOLVED',
348 )
346
349
347 class bzaccess(object):
350 class bzaccess(object):
348 '''Base class for access to Bugzilla.'''
351 '''Base class for access to Bugzilla.'''
@@ -670,7 +673,7 b' class bzxmlrpc(bzaccess):'
670 user = self.ui.config('bugzilla', 'user', 'bugs')
673 user = self.ui.config('bugzilla', 'user', 'bugs')
671 passwd = self.ui.config('bugzilla', 'password')
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 self.fixresolution = self.ui.config('bugzilla', 'fixresolution')
677 self.fixresolution = self.ui.config('bugzilla', 'fixresolution')
675
678
676 self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb))
679 self.bzproxy = xmlrpclib.ServerProxy(bzweb, self.transport(bzweb))
@@ -828,7 +831,7 b' class bzrestapi(bzaccess):'
828 self.apikey = self.ui.config('bugzilla', 'apikey')
831 self.apikey = self.ui.config('bugzilla', 'apikey')
829 self.user = self.ui.config('bugzilla', 'user', 'bugs')
832 self.user = self.ui.config('bugzilla', 'user', 'bugs')
830 self.passwd = self.ui.config('bugzilla', 'password')
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 self.fixresolution = self.ui.config('bugzilla', 'fixresolution')
835 self.fixresolution = self.ui.config('bugzilla', 'fixresolution')
833
836
834 def apiurl(self, targets, include_fields=None):
837 def apiurl(self, targets, include_fields=None):
General Comments 0
You need to be logged in to leave comments. Login now