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