Show More
@@ -146,6 +146,18 b' class SvnRemote(object):' | |||
|
146 | 146 | return False |
|
147 | 147 | return True |
|
148 | 148 | |
|
149 | @reraise_safe_exceptions | |
|
150 | def verify(self, wire,): | |
|
151 | repo_path = wire['path'] | |
|
152 | if not self.is_path_valid_repository(wire, repo_path): | |
|
153 | raise Exception( | |
|
154 | "Path %s is not a valid Subversion repository." % repo_path) | |
|
155 | ||
|
156 | load = subprocess.Popen( | |
|
157 | ['svnadmin', 'info', repo_path], | |
|
158 | stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
|
159 | return ''.join(load.stdout) | |
|
160 | ||
|
149 | 161 | def lookup(self, wire, revision): |
|
150 | 162 | if revision not in [-1, None, 'HEAD']: |
|
151 | 163 | raise NotImplementedError |
General Comments 0
You need to be logged in to leave comments.
Login now