Show More
@@ -71,12 +71,12 b' class SubversionTunnelWrapper(object):' | |||||
71 | self.server.svn_path, '-t', |
|
71 | self.server.svn_path, '-t', | |
72 | '--config-file', self.svn_conf_path, |
|
72 | '--config-file', self.svn_conf_path, | |
73 | '-r', root] |
|
73 | '-r', root] | |
74 | log.debug("Final CMD: %s", command) |
|
74 | log.debug("Final CMD: %s", ' '.join(command)) | |
75 | return command |
|
75 | return command | |
76 |
|
76 | |||
77 | def start(self): |
|
77 | def start(self): | |
78 | command = self.command() |
|
78 | command = self.command() | |
79 | self.process = Popen(command, stdin=PIPE) |
|
79 | self.process = Popen(' '.join(command), stdin=PIPE, shell=True) | |
80 |
|
80 | |||
81 | def sync(self): |
|
81 | def sync(self): | |
82 | while self.process.poll() is None: |
|
82 | while self.process.poll() is None: | |
@@ -172,7 +172,6 b' class SubversionTunnelWrapper(object):' | |||||
172 | first_response = self.get_first_client_response() |
|
172 | first_response = self.get_first_client_response() | |
173 | if not first_response: |
|
173 | if not first_response: | |
174 | self.fail("Repository name cannot be extracted") |
|
174 | self.fail("Repository name cannot be extracted") | |
175 | return 1 |
|
|||
176 |
|
175 | |||
177 | url_parts = urlparse.urlparse(first_response['url']) |
|
176 | url_parts = urlparse.urlparse(first_response['url']) | |
178 | self.server.repo_name = url_parts.path.strip('/') |
|
177 | self.server.repo_name = url_parts.path.strip('/') |
General Comments 0
You need to be logged in to leave comments.
Login now