Add support for +junk branches.
This commit is contained in:
parent
708eaaa2a6
commit
b9805a5fbd
|
@ -645,7 +645,7 @@ text/plain
|
||||||
lpfilters['group'] = '~%s' % lpfilters['project']
|
lpfilters['group'] = '~%s' % lpfilters['project']
|
||||||
lpfilters['series'] = lpfilters['project']
|
lpfilters['series'] = lpfilters['project']
|
||||||
lpfilters['branch'] = '[a-zA-Z0-9]{1}[a-zA-Z0-9_+@.-]+'
|
lpfilters['branch'] = '[a-zA-Z0-9]{1}[a-zA-Z0-9_+@.-]+'
|
||||||
self.matches['launchpad-branch'] = self._vte.match_add ('\\b((lp|LP):%(project)s(/%(series)s)?|(lp|LP):%(group)s/%(project)s/%(branch)s)\\b' % lpfilters)
|
self.matches['launchpad-branch'] = self._vte.match_add ('\\b((lp|LP):%(project)s(/%(series)s)?|(lp|LP):%(group)s/(%(project)s|\+junk)/%(branch)s)\\b' % lpfilters)
|
||||||
|
|
||||||
def _path_lookup(self, command):
|
def _path_lookup(self, command):
|
||||||
if os.path.isabs (command):
|
if os.path.isabs (command):
|
||||||
|
|
Loading…
Reference in New Issue