Show More
@@ -299,9 +299,13 b' def is_valid_repo_group(repo_group_name,' | |||||
299 | # we need to check bare git repos at higher level |
|
299 | # we need to check bare git repos at higher level | |
300 | # since we might match branches/hooks/info/objects or possible |
|
300 | # since we might match branches/hooks/info/objects or possible | |
301 | # other things inside bare git repo |
|
301 | # other things inside bare git repo | |
302 |
|
|
302 | maybe_repo = os.path.dirname(full_path) | |
303 | log.debug('path: %s is a vcs object:%s, not valid ' |
|
303 | if maybe_repo == base_path: | |
304 | 'repo group' % (full_path, scm_)) |
|
304 | # skip root level repo check, we know root location CANNOT BE a repo group | |
|
305 | return False | |||
|
306 | ||||
|
307 | scm_ = get_scm(maybe_repo) | |||
|
308 | log.debug('path: %s is a vcs object:%s, not valid repo group', full_path, scm_) | |||
305 | return False |
|
309 | return False | |
306 | except VCSError: |
|
310 | except VCSError: | |
307 | pass |
|
311 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now