Show More
@@ -94,10 +94,10 b' class SimpleVCS(object):' | |||
|
94 | 94 | # we use this regex which will match only on URLs pointing to shadow |
|
95 | 95 | # repositories. |
|
96 | 96 | shadow_repo_re = re.compile( |
|
97 |
'(?P<groups>(?:{slug_pat} |
|
|
98 |
'(?P<target>{slug_pat})/' |
|
|
99 |
'pull-request/(?P<pr_id>\d+)/' |
|
|
100 |
'repository$' |
|
|
97 | '(?P<groups>(?:{slug_pat}/)*)' # repo groups | |
|
98 | '(?P<target>{slug_pat})/' # target repo | |
|
99 | 'pull-request/(?P<pr_id>\d+)/' # pull request | |
|
100 | 'repository$' # shadow repo | |
|
101 | 101 | .format(slug_pat=SLUG_RE.pattern)) |
|
102 | 102 | |
|
103 | 103 | def __init__(self, application, config, registry): |
General Comments 0
You need to be logged in to leave comments.
Login now