Show More
@@ -78,6 +78,9 def get_scms_for_path(path): | |||||
78 | if os.path.isdir(dirname): |
|
78 | if os.path.isdir(dirname): | |
79 | result.append(key) |
|
79 | result.append(key) | |
80 | continue |
|
80 | continue | |
|
81 | dirname = os.path.join(path, 'rm__.' + key) | |||
|
82 | if os.path.isdir(dirname): | |||
|
83 | return [None] | |||
81 | # We still need to check if it's not bare repository as |
|
84 | # We still need to check if it's not bare repository as | |
82 | # bare repos don't have working directories |
|
85 | # bare repos don't have working directories | |
83 | try: |
|
86 | try: |
@@ -225,7 +225,7 class ScmModel(BaseModel): | |||||
225 |
|
225 | |||
226 | for name, path in get_filesystem_repos(repos_path, recursive=True): |
|
226 | for name, path in get_filesystem_repos(repos_path, recursive=True): | |
227 | # skip removed repos |
|
227 | # skip removed repos | |
228 | if REMOVED_REPO_PAT.match(name): |
|
228 | if REMOVED_REPO_PAT.match(name) or path[0] is None: | |
229 | continue |
|
229 | continue | |
230 |
|
230 | |||
231 | # name need to be decomposed and put back together using the / |
|
231 | # name need to be decomposed and put back together using the / |
General Comments 0
You need to be logged in to leave comments.
Login now