Show More
@@ -182,10 +182,9 b' class SvnRemote(RemoteBase):' | |||
|
182 | 182 | return True |
|
183 | 183 | |
|
184 | 184 | def is_path_valid_repository(self, wire, path): |
|
185 | ||
|
186 | 185 | # NOTE(marcink): short circuit the check for SVN repo |
|
187 | 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 | 188 | if not os.path.isfile(os.path.join(path, 'format')): |
|
190 | 189 | return False |
|
191 | 190 |
General Comments 0
You need to be logged in to leave comments.
Login now