Show More
@@ -34,8 +34,7 b' from mercurial import (' | |||||
34 | # won't work worth a darn against those libraries anyway! |
|
34 | # won't work worth a darn against those libraries anyway! | |
35 | svn.ra.initialize() |
|
35 | svn.ra.initialize() | |
36 |
|
36 | |||
37 | svn_config = svn.core.svn_config_get_config(None) |
|
37 | svn_config = None | |
38 |
|
||||
39 |
|
38 | |||
40 | def _create_auth_baton(pool): |
|
39 | def _create_auth_baton(pool): | |
41 | """Create a Subversion authentication baton. """ |
|
40 | """Create a Subversion authentication baton. """ | |
@@ -88,6 +87,9 b' class SvnRaTransport(object):' | |||||
88 | svn.core.svn_auth_set_parameter( |
|
87 | svn.core.svn_auth_set_parameter( | |
89 | ab, svn.core.SVN_AUTH_PARAM_DEFAULT_PASSWORD, self.password) |
|
88 | ab, svn.core.SVN_AUTH_PARAM_DEFAULT_PASSWORD, self.password) | |
90 | self.client.auth_baton = ab |
|
89 | self.client.auth_baton = ab | |
|
90 | global svn_config | |||
|
91 | if svn_config is None: | |||
|
92 | svn_config = svn.core.svn_config_get_config(None) | |||
91 | self.client.config = svn_config |
|
93 | self.client.config = svn_config | |
92 | try: |
|
94 | try: | |
93 | self.ra = svn.client.open_ra_session( |
|
95 | self.ra = svn.client.open_ra_session( |
General Comments 0
You need to be logged in to leave comments.
Login now