equal
deleted
inserted
replaced
79 |
79 |
80 # Only Subversion 1.4 has reparent() |
80 # Only Subversion 1.4 has reparent() |
81 if ra is None or not util.safehasattr(svn.ra, 'reparent'): |
81 if ra is None or not util.safehasattr(svn.ra, 'reparent'): |
82 self.client = svn.client.create_context(self.pool) |
82 self.client = svn.client.create_context(self.pool) |
83 ab = _create_auth_baton(self.pool) |
83 ab = _create_auth_baton(self.pool) |
84 if False: |
|
85 svn.core.svn_auth_set_parameter( |
|
86 ab, svn.core.SVN_AUTH_PARAM_DEFAULT_USERNAME, self.username) |
|
87 svn.core.svn_auth_set_parameter( |
|
88 ab, svn.core.SVN_AUTH_PARAM_DEFAULT_PASSWORD, self.password) |
|
89 self.client.auth_baton = ab |
84 self.client.auth_baton = ab |
90 global svn_config |
85 global svn_config |
91 if svn_config is None: |
86 if svn_config is None: |
92 svn_config = svn.core.svn_config_get_config(None) |
87 svn_config = svn.core.svn_config_get_config(None) |
93 self.client.config = svn_config |
88 self.client.config = svn_config |