##// END OF EJS Templates
configitems: register the 'bugzilla.fixregexp' config
Boris Feld -
r33399:bab1f324 default
parent child Browse files
Show More
@@ -337,6 +337,9 b" configitem('bugzilla', 'bzuser',"
337 337 configitem('bugzilla', 'db',
338 338 default='bugs',
339 339 )
340 configitem('bugzilla', 'fixregexp',
341 default=lambda: bugzilla._default_fix_re,
342 )
340 343
341 344 class bzaccess(object):
342 345 '''Base class for access to Bugzilla.'''
@@ -975,8 +978,7 b' class bugzilla(object):'
975 978 self.ui.config('bugzilla', 'regexp',
976 979 bugzilla._default_bug_re), re.IGNORECASE)
977 980 self.fix_re = re.compile(
978 self.ui.config('bugzilla', 'fixregexp',
979 bugzilla._default_fix_re), re.IGNORECASE)
981 self.ui.config('bugzilla', 'fixregexp'), re.IGNORECASE)
980 982 self.split_re = re.compile(r'\D+')
981 983
982 984 def find_bugs(self, ctx):
General Comments 0
You need to be logged in to leave comments. Login now