Show More
@@ -182,10 +182,9 b' class SvnRemote(RemoteBase):' | |||||
182 | return True |
|
182 | return True | |
183 |
|
183 | |||
184 | def is_path_valid_repository(self, wire, path): |
|
184 | def is_path_valid_repository(self, wire, path): | |
185 |
|
||||
186 | # NOTE(marcink): short circuit the check for SVN repo |
|
185 | # NOTE(marcink): short circuit the check for SVN repo | |
187 | # the repos.open might be expensive to check, but we have one cheap |
|
186 | # the repos.open might be expensive to check, but we have one cheap | |
188 |
# pre |
|
187 | # pre-condition that we can use, to check for 'format' file | |
189 | if not os.path.isfile(os.path.join(path, 'format')): |
|
188 | if not os.path.isfile(os.path.join(path, 'format')): | |
190 | return False |
|
189 | return False | |
191 |
|
190 |
General Comments 0
You need to be logged in to leave comments.
Login now