Mercurial > hg
comparison hgext/bugzilla.py @ 33464:56f98a3f97d2
configitems: register the 'bugzilla.style' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 07 Jul 2017 10:04:11 +0200 |
parents | 037d809737fb |
children | 9a36b964165e |
comparison
equal
deleted
inserted
replaced
33463:037d809737fb | 33464:56f98a3f97d2 |
---|---|
357 r'(?P<ids>(?:\d+\s*(?:,?\s*(?:and)?)?\s*)+)' | 357 r'(?P<ids>(?:\d+\s*(?:,?\s*(?:and)?)?\s*)+)' |
358 r'\.?\s*(?:h(?:ours?)?\s*(?P<hours>\d*(?:\.\d+)?))?') | 358 r'\.?\s*(?:h(?:ours?)?\s*(?P<hours>\d*(?:\.\d+)?))?') |
359 ) | 359 ) |
360 configitem('bugzilla', 'strip', | 360 configitem('bugzilla', 'strip', |
361 default=0, | 361 default=0, |
362 ) | |
363 configitem('bugzilla', 'style', | |
364 default=None, | |
362 ) | 365 ) |
363 | 366 |
364 class bzaccess(object): | 367 class bzaccess(object): |
365 '''Base class for access to Bugzilla.''' | 368 '''Base class for access to Bugzilla.''' |
366 | 369 |