##// END OF EJS Templates
svn: pass in explicit SCM into the call function for faster detection of protocol.
marcink -
r2402:3879c894 default
parent child Browse files
Show More
@@ -136,11 +136,13 b' class SimpleSvn(simplevcs.SimpleVCS):'
136 # SVN includes the whole path in it's requests, including
136 # SVN includes the whole path in it's requests, including
137 # subdirectories inside the repo. Therefore we have to search for
137 # subdirectories inside the repo. Therefore we have to search for
138 # the repo root directory.
138 # the repo root directory.
139 if not is_valid_repo(repo_name, self.base_path, self.SCM):
139 if not is_valid_repo(
140 repo_name, self.base_path, explicit_scm=self.SCM):
140 current_path = ''
141 current_path = ''
141 for component in repo_name.split('/'):
142 for component in repo_name.split('/'):
142 current_path += component
143 current_path += component
143 if is_valid_repo(current_path, self.base_path, self.SCM):
144 if is_valid_repo(
145 current_path, self.base_path, explicit_scm=self.SCM):
144 return current_path
146 return current_path
145 current_path += '/'
147 current_path += '/'
146
148
General Comments 0
You need to be logged in to leave comments. Login now