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