Show More
@@ -63,7 +63,7 b' def _create_auth_baton(pool):' | |||||
63 | if p: |
|
63 | if p: | |
64 | providers.append(p) |
|
64 | providers.append(p) | |
65 | else: |
|
65 | else: | |
66 |
if util.safehasattr(svn.client, |
|
66 | if util.safehasattr(svn.client, 'get_windows_simple_provider'): | |
67 | providers.append(svn.client.get_windows_simple_provider(pool)) |
|
67 | providers.append(svn.client.get_windows_simple_provider(pool)) | |
68 |
|
68 | |||
69 | return svn.core.svn_auth_open(providers, pool) |
|
69 | return svn.core.svn_auth_open(providers, pool) | |
@@ -85,7 +85,7 b' class SvnRaTransport:' | |||||
85 | self.password = b'' |
|
85 | self.password = b'' | |
86 |
|
86 | |||
87 | # Only Subversion 1.4 has reparent() |
|
87 | # Only Subversion 1.4 has reparent() | |
88 |
if ra is None or not util.safehasattr(svn.ra, |
|
88 | if ra is None or not util.safehasattr(svn.ra, 'reparent'): | |
89 | self.client = svn.client.create_context(self.pool) |
|
89 | self.client = svn.client.create_context(self.pool) | |
90 | ab = _create_auth_baton(self.pool) |
|
90 | ab = _create_auth_baton(self.pool) | |
91 | self.client.auth_baton = ab |
|
91 | self.client.auth_baton = ab |
General Comments 0
You need to be logged in to leave comments.
Login now