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