svn: pass in explicit SCM into the call function for faster detection of protocol.
This commit is contained in:
parent
b891773a32
commit
098d879432
1 changed files with 4 additions and 2 deletions
|
|
@ -136,11 +136,13 @@ class SimpleSvn(simplevcs.SimpleVCS):
|
|||
# SVN includes the whole path in it's requests, including
|
||||
# subdirectories inside the repo. Therefore we have to search for
|
||||
# the repo root directory.
|
||||
if not is_valid_repo(repo_name, self.base_path, self.SCM):
|
||||
if not is_valid_repo(
|
||||
repo_name, self.base_path, explicit_scm=self.SCM):
|
||||
current_path = ''
|
||||
for component in repo_name.split('/'):
|
||||
current_path += component
|
||||
if is_valid_repo(current_path, self.base_path, self.SCM):
|
||||
if is_valid_repo(
|
||||
current_path, self.base_path, explicit_scm=self.SCM):
|
||||
return current_path
|
||||
current_path += '/'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue