##// END OF EJS Templates
import/repo-checks: skip validating storage path in detection of SCMs.
marcink -
r3037:63d95a89 stable
parent child Browse files
Show More
@@ -299,9 +299,13 b' def is_valid_repo_group(repo_group_name,'
299 299 # we need to check bare git repos at higher level
300 300 # since we might match branches/hooks/info/objects or possible
301 301 # other things inside bare git repo
302 scm_ = get_scm(os.path.dirname(full_path))
303 log.debug('path: %s is a vcs object:%s, not valid '
304 'repo group' % (full_path, scm_))
302 maybe_repo = os.path.dirname(full_path)
303 if maybe_repo == base_path:
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 309 return False
306 310 except VCSError:
307 311 pass
General Comments 0
You need to be logged in to leave comments. Login now