##// END OF EJS Templates
configitems: register the 'bugzilla.db' config
Boris Feld -
r33398:69d85abe default
parent child Browse files
Show More
@@ -334,6 +334,9 b" configitem('bugzilla', 'bzurl',"
334 configitem('bugzilla', 'bzuser',
334 configitem('bugzilla', 'bzuser',
335 default=None,
335 default=None,
336 )
336 )
337 configitem('bugzilla', 'db',
338 default='bugs',
339 )
337
340
338 class bzaccess(object):
341 class bzaccess(object):
339 '''Base class for access to Bugzilla.'''
342 '''Base class for access to Bugzilla.'''
@@ -412,7 +415,7 b' class bzmysql(bzaccess):'
412 host = self.ui.config('bugzilla', 'host', 'localhost')
415 host = self.ui.config('bugzilla', 'host', 'localhost')
413 user = self.ui.config('bugzilla', 'user', 'bugs')
416 user = self.ui.config('bugzilla', 'user', 'bugs')
414 passwd = self.ui.config('bugzilla', 'password')
417 passwd = self.ui.config('bugzilla', 'password')
415 db = self.ui.config('bugzilla', 'db', 'bugs')
418 db = self.ui.config('bugzilla', 'db')
416 timeout = int(self.ui.config('bugzilla', 'timeout', 5))
419 timeout = int(self.ui.config('bugzilla', 'timeout', 5))
417 self.ui.note(_('connecting to %s:%s as %s, password %s\n') %
420 self.ui.note(_('connecting to %s:%s as %s, password %s\n') %
418 (host, db, user, '*' * len(passwd)))
421 (host, db, user, '*' * len(passwd)))
General Comments 0
You need to be logged in to leave comments. Login now